From b7c171a18ebc3236d211da3f2ce46b90fa935279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Thu, 19 Aug 2010 22:16:49 +0200 Subject: [PATCH] Correction de bugs : Affichage des "Parse error". MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plus correction d'une apostrophe non échappée. --- __cms__/code/cms/cms.php | 1 + __cms__/code/modules/galerie/galerie-evenement.php | 2 +- __cms__/code/securite/erreur.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/__cms__/code/cms/cms.php b/__cms__/code/cms/cms.php index 105c5e6..415d841 100644 --- a/__cms__/code/cms/cms.php +++ b/__cms__/code/cms/cms.php @@ -1,6 +1,7 @@ get_url() . '">'; $ret .= ''; - $ret .= ''; + $ret .= ''; $ret .= ''; } return new Page($ret, Stockage::get_prop($chemin, "titre")); diff --git a/__cms__/code/securite/erreur.php b/__cms__/code/securite/erreur.php index 812e0b0..a5498f0 100644 --- a/__cms__/code/securite/erreur.php +++ b/__cms__/code/securite/erreur.php @@ -47,7 +47,7 @@ class Erreur { } public static function is_erreur($obj) { - return get_class($obj) === __CLASS__; + return is_object($obj) && get_class($obj) === __CLASS__; } }