From c3dce9b4ad4029d4c6d958305c6ebb3a802e46f7 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 30 Jan 2004 17:34:37 +0000 Subject: [PATCH] Gestion des erreurs --- htdocs/contact.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/htdocs/contact.class.php b/htdocs/contact.class.php index eb091028cf2..becff245207 100644 --- a/htdocs/contact.class.php +++ b/htdocs/contact.class.php @@ -233,6 +233,14 @@ class Contact } } } + else + { + print "Erreur bad id"; + } + } + else + { + print $this->db->error(); } } /*