Update card.php
This commit is contained in:
parent
d3c5173c5b
commit
86e5713233
@ -132,7 +132,7 @@ if (empty($reshook)) {
|
||||
$action = "create"; // Go back to create page
|
||||
} else {
|
||||
$object->name = trim(GETPOST("nom", 'nohtml'));
|
||||
$object->nom = $object->name; // For backward compatibility
|
||||
//$object->nom = $object->name; // For backward compatibility
|
||||
$object->note = dol_htmlcleanlastbr(trim(GETPOST("note", 'none')));
|
||||
|
||||
// Fill array 'array_options' with data from add form
|
||||
@ -215,7 +215,7 @@ if (empty($reshook)) {
|
||||
$object->oldcopy = clone $object;
|
||||
|
||||
$object->name = trim(GETPOST("nom", 'nohtml'));
|
||||
$object->nom = $object->name; // For backward compatibility
|
||||
//$object->nom = $object->name; // For backward compatibility
|
||||
$object->note = dol_htmlcleanlastbr(trim(GETPOST("note", 'none')));
|
||||
|
||||
// Fill array 'array_options' with data from add form
|
||||
|
||||
Loading…
Reference in New Issue
Block a user