fix php warning

This commit is contained in:
Florian HENRY 2021-03-02 09:45:49 +01:00
parent 81f1bee10c
commit d7500b1609

View File

@ -1217,8 +1217,9 @@ class Facture extends CommonInvoice
$object->lines[$i]->date_end = $newLast; $object->lines[$i]->date_end = $newLast;
} }
} }
if ($object->lines[$i]) {
$object->lines[$i]->ref_ext = ''; // Do not clone ref_ext $object->lines[$i]->ref_ext = '';
}// Do not clone ref_ext
} }
// Create clone // Create clone