Qual: Wrong variable name

This commit is contained in:
Raphaël Doursenaud
2014-04-23 16:58:49 +02:00
parent 9e839f43e6
commit f4f4eca841

View File

@@ -237,7 +237,7 @@ function commande_pdf_create($db, $object, $modele, $outputlangs, $hidedetails=0
include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
$interface=new Interfaces($db);
$result=$interface->run_triggers('ORDER_BUILDDOC',$object,$user,$langs,$conf);
if ($result < 0) { $error++; $this->errors=$interface->errors; }
if ($result < 0) { $error++; $obj->errors=$interface->errors; }
// Fin appel triggers
return 1;