Browse Source

Merge pull request #2877 from atm-ph/fix_37_update_usergroup

FIX : update usergroup name
Laurent Destailleur 10 years ago
parent
commit
fe2329518b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/user/group/card.php

+ 1 - 1
htdocs/user/group/card.php

@@ -179,7 +179,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