FIX #4285 SQL query shown when accessing an unexisting invoice

This commit is contained in:
Marcos García de La Fuente 2015-12-24 14:46:01 +01:00
parent 2d3915b88c
commit de1625b9de

View File

@ -1074,7 +1074,7 @@ class Facture extends CommonInvoice
}
else
{
$this->error='Bill with id '.$rowid.' or ref '.$ref.' not found sql='.$sql;
$this->error='Bill with id '.$rowid.' or ref '.$ref.' not found';
dol_syslog(get_class($this)."::fetch Error ".$this->error, LOG_ERR);
return 0;
}