From 9b602371128e32b71b4f107b68b7c7cadf38e591 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 1 Dec 2005 15:28:41 +0000 Subject: [PATCH] Bugfix --- htdocs/telephonie/script/update_presel.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/htdocs/telephonie/script/update_presel.php b/htdocs/telephonie/script/update_presel.php index 2f8e93d381b..d3d4ea41e50 100644 --- a/htdocs/telephonie/script/update_presel.php +++ b/htdocs/telephonie/script/update_presel.php @@ -82,14 +82,6 @@ if ($resql) $lint->fetch_by_id($obj->rowid); $result = UpdatePreselection($host, $user_login, $user_passwd, $lint, $num_abo); - - if ($result == 0) - { - if ($lint->statut == 9) - { - $lint->set_statut($user, 2); - } - } $i++; } @@ -150,7 +142,7 @@ function UpdatePreselection($host, $user_login, $user_passwd, $lint, $id_person) preg_match('/^(.*)<\/string>$/', $line, $results); $result = $results[1]; - //dolibarr_syslog($line); + dolibarr_syslog($line); $parse = 0; }