Fix : bad definition of key for extrafields array
This commit is contained in:
parent
76ce938f61
commit
c1e6de33eb
@ -183,7 +183,7 @@ if (empty($reshook))
|
||||
{
|
||||
$value_key=GETPOST("options_".$key);
|
||||
}
|
||||
$object->array_options[$key]=$value_key;
|
||||
$object->array_options["options_".$key]=$value_key;
|
||||
}
|
||||
if (GETPOST('deletephoto')) $object->logo = '';
|
||||
else if (! empty($_FILES['photo']['name'])) $object->logo = dol_sanitizeFileName($_FILES['photo']['name']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user