From fadff895ce9dfd4ca649c72f956c10e9b71d6da4 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 21 Jul 2004 14:44:30 +0000 Subject: [PATCH] Suppression de print sauvage de debug --- htdocs/lib/functions.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/lib/functions.inc.php b/htdocs/lib/functions.inc.php index aa048f8a7a8..26da093be9d 100644 --- a/htdocs/lib/functions.inc.php +++ b/htdocs/lib/functions.inc.php @@ -1332,11 +1332,10 @@ Function departement_rowid($db,$code, $pays_id) $sql .= " WHERE c.code_departement=". $code; $sql .= " AND c.fk_region = r.code_region"; $sql .= " AND r.fk_pays =".$pays_id; - print $sql . " " . $num; + if ($db->query($sql)) { $num = $db->num_rows(); - print $sql . " " . $num; if ($num) { $obj = $db->fetch_object(0);