Fix merge mistake
This commit is contained in:
parent
f773317bf5
commit
4a0195deee
@ -926,7 +926,6 @@ if (empty($reshook))
|
|||||||
}
|
}
|
||||||
$id = $object->create($user);
|
$id = $object->create($user);
|
||||||
|
|
||||||
$facture_source = new Facture($db); // fetch origin object
|
|
||||||
if (GETPOST('invoiceAvoirWithLines', 'int')==1 && $id>0)
|
if (GETPOST('invoiceAvoirWithLines', 'int')==1 && $id>0)
|
||||||
{
|
{
|
||||||
if (!empty($facture_source->lines))
|
if (!empty($facture_source->lines))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user