Skip to content
Snippets Groups Projects
Commit 493732bd authored by Sof's avatar Sof
Browse files

Update action returnb PHP Fatal error: Using $this when not in object context

parent baa247ea
No related branches found
No related tags found
No related merge requests found
...@@ -178,7 +178,7 @@ if ($action == 'update') ...@@ -178,7 +178,7 @@ if ($action == 'update')
$object->oldcopy=dol_clone($object); $object->oldcopy=dol_clone($object);
$object->name = trim($_POST["group"]); $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"]); $object->note = dol_htmlcleanlastbr($_POST["note"]);
// Fill array 'array_options' with data from add form // Fill array 'array_options' with data from add form
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment