fix : extrafields of line where missing when cloning a fichinter

This commit is contained in:
Philippe GRAND 2022-09-04 14:48:05 +02:00
parent 7c04468246
commit b194af39e8

View File

@ -1219,7 +1219,7 @@ class Fichinter extends CommonObject
if (!$error) {
// Add lines because it is not included into create function
foreach ($this->lines as $line) {
$this->addline($user, $this->id, $line->desc, $line->datei, $line->duration);
$this->addline($user, $this->id, $line->desc, $line->datei, $line->duration, $line->array_options);
}
// Hook of thirdparty module