Fix object not defined
This commit is contained in:
parent
dbaaa44c76
commit
5dc1102601
@ -23,6 +23,7 @@
|
||||
* $object (invoice, order, ...)
|
||||
* $conf
|
||||
* $langs
|
||||
* $seller, $nuyer
|
||||
* $dateSelector
|
||||
* $forceall (0 by default, 1 for supplier invoices/orders)
|
||||
* $senderissupplier (0 by default, 1 for supplier invoices/orders)
|
||||
|
||||
@ -2039,7 +2039,7 @@ elseif (! empty($object->id))
|
||||
// Show object lines
|
||||
$inputalsopricewithtax=0;
|
||||
if (! empty($object->lines))
|
||||
$ret = $object->printObjectLines($action, $soc, $mysoc, $lineid, 1);
|
||||
$ret = $object->printObjectLines($action, $societe, $mysoc, $lineid, 1);
|
||||
|
||||
$num = count($object->lines);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user