Suppression de print sauvage de debug
This commit is contained in:
parent
fd47881a69
commit
fadff895ce
@ -1332,11 +1332,10 @@ Function departement_rowid($db,$code, $pays_id)
|
|||||||
$sql .= " WHERE c.code_departement=". $code;
|
$sql .= " WHERE c.code_departement=". $code;
|
||||||
$sql .= " AND c.fk_region = r.code_region";
|
$sql .= " AND c.fk_region = r.code_region";
|
||||||
$sql .= " AND r.fk_pays =".$pays_id;
|
$sql .= " AND r.fk_pays =".$pays_id;
|
||||||
print $sql . " " . $num;
|
|
||||||
if ($db->query($sql))
|
if ($db->query($sql))
|
||||||
{
|
{
|
||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
print $sql . " " . $num;
|
|
||||||
if ($num)
|
if ($num)
|
||||||
{
|
{
|
||||||
$obj = $db->fetch_object(0);
|
$obj = $db->fetch_object(0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user