Qual: Wrong variable name

This commit is contained in:
Raphaël Doursenaud 2014-04-23 17:50:26 +02:00
parent 10a0994241
commit c4569b10d0

View File

@ -224,7 +224,7 @@ function supplier_invoice_pdf_create($db, $object, $modele, $outputlangs, $hided
include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
$interface=new Interfaces($db);
$result=$interface->run_triggers('BILL_SUPPLIER_BUILDDOC',$object,$user,$langs,$conf);
if ($result < 0) { $error++; $this->errors=$interface->errors; }
if ($result < 0) { $error++; $obj->errors=$interface->errors; }
// End calls triggers
return 1;