Fix: Update when submitting form
This commit is contained in:
parent
76d111b09f
commit
62e209520a
@ -49,7 +49,7 @@ $constnote=GETPOST('constnote','alpha');
|
||||
* Actions
|
||||
*/
|
||||
|
||||
if ($action == 'add' || GETPOST('add'))
|
||||
if ($action == 'add' || (GETPOST('add') && $action != 'update'))
|
||||
{
|
||||
$error=0;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user