FIX Error is not returned

This commit is contained in:
Laurent Destailleur 2016-07-28 14:07:59 +02:00
parent aae2086ada
commit 3639d30389

View File

@ -1496,6 +1496,7 @@ class CommandeFournisseur extends CommonOrder
else
{
$this->error=$this->line->error;
$this->errors=$this->line->errors;
dol_syslog(get_class($this)."::addline error=".$this->error, LOG_ERR);
$this->db->rollback();
return -1;