Fix: Update when submitting form

This commit is contained in:
Laurent Destailleur 2013-12-07 00:53:58 +01:00
parent 76d111b09f
commit 62e209520a

View File

@ -49,7 +49,7 @@ $constnote=GETPOST('constnote','alpha');
* Actions
*/
if ($action == 'add' || GETPOST('add'))
if ($action == 'add' || (GETPOST('add') && $action != 'update'))
{
$error=0;