From 42a4bb53d9a3bee41ba96b54ca899999577d69a1 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sun, 21 Oct 2007 17:59:21 +0000 Subject: [PATCH] Verbose message error --- include/class_fiche.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/class_fiche.php b/include/class_fiche.php index 26093d9c2..ad703408b 100644 --- a/include/class_fiche.php +++ b/include/class_fiche.php @@ -353,7 +353,9 @@ class fiche { $attr=$this->attribut; $ret=""; - + if ( empty ($attr) ) { + return "Fiche non trouvée"; + } foreach ( $attr as $r) { $msg="";