Update action returnb PHP Fatal error: Using $this when not in object context
This commit is contained in:
parent
baa247ea86
commit
493732bdc3
@ -178,7 +178,7 @@ if ($action == 'update')
|
||||
$object->oldcopy=dol_clone($object);
|
||||
|
||||
$object->name = trim($_POST["group"]);
|
||||
$object->nom = $this->name; // For backward compatibility
|
||||
$object->nom = $object->name; // For backward compatibility
|
||||
$object->note = dol_htmlcleanlastbr($_POST["note"]);
|
||||
|
||||
// Fill array 'array_options' with data from add form
|
||||
|
||||
Loading…
Reference in New Issue
Block a user