Skip to content
Snippets Groups Projects
Commit 1b1d1a8d authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX #7156

parent 947acfff
Branches
Tags
No related merge requests found
...@@ -168,10 +168,13 @@ if (empty($reshook)) ...@@ -168,10 +168,13 @@ if (empty($reshook))
} }
// Merge extrafields // Merge extrafields
if (is_array($soc_origin->array_options))
{
foreach ($soc_origin->array_options as $key => $val) foreach ($soc_origin->array_options as $key => $val)
{ {
if (empty($object->array_options[$key])) $object->array_options[$key] = $val; if (empty($object->array_options[$key])) $object->array_options[$key] = $val;
} }
}
// TODO Merge categories // TODO Merge categories
$object->update($object->id, $user); $object->update($object->id, $user);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment