diff --git a/htdocs/telephonie/script/commande_presel_statut.php b/htdocs/telephonie/script/commande_presel_statut.php index a3f727cf6ae..fef2713cdac 100644 --- a/htdocs/telephonie/script/commande_presel_statut.php +++ b/htdocs/telephonie/script/commande_presel_statut.php @@ -194,7 +194,7 @@ function GetPreselection_byRef($db, $host, $user_login, $user_passwd, $ids) else { $row = $db->fetch_row($resql); - if ($row[1] <> $situation_key) + if (trim($row[1]) <> trim($situation_key)) { $insert = 1; }