Fix : value returned after order confirm was 0 if update OK, and order page wasn't reloaded

This commit is contained in:
Maxime Kohlhaas 2012-11-29 00:38:39 +01:00
parent 0587b06cf4
commit 1fc35d7d42

View File

@ -889,7 +889,7 @@ class CommandeFournisseur extends CommonOrder
dol_syslog(get_class($this)."::commande sql=".$sql, LOG_DEBUG);
if ($this->db->query($sql))
{
$result = 0;
$result = 1;
$this->log($user, 3, $date, $comment);
}
else