Fix : value returned after order confirm was 0 if update OK, and order page wasn't reloaded
This commit is contained in:
parent
0587b06cf4
commit
1fc35d7d42
@ -889,7 +889,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
dol_syslog(get_class($this)."::commande sql=".$sql, LOG_DEBUG);
|
dol_syslog(get_class($this)."::commande sql=".$sql, LOG_DEBUG);
|
||||||
if ($this->db->query($sql))
|
if ($this->db->query($sql))
|
||||||
{
|
{
|
||||||
$result = 0;
|
$result = 1;
|
||||||
$this->log($user, 3, $date, $comment);
|
$this->log($user, 3, $date, $comment);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user