Merge pull request #4289 from marcosgdf/bug-4285

FIX #4285 SQL query shown when accessing an unexisting invoice
This commit is contained in:
Juanjo Menent 2015-12-24 22:00:00 +01:00
commit c6093fff3e

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;
}