fix : extrafields of line where missing when cloning a fichinter
This commit is contained in:
parent
7c04468246
commit
b194af39e8
@ -1219,7 +1219,7 @@ class Fichinter extends CommonObject
|
|||||||
if (!$error) {
|
if (!$error) {
|
||||||
// Add lines because it is not included into create function
|
// Add lines because it is not included into create function
|
||||||
foreach ($this->lines as $line) {
|
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
|
// Hook of thirdparty module
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user