From 62e209520a48a11b350b807f82747ca1fc2e8fa9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 7 Dec 2013 00:53:58 +0100 Subject: [PATCH] Fix: Update when submitting form --- htdocs/admin/const.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/const.php b/htdocs/admin/const.php index 7588bdf5241..ae4b9eb35dd 100644 --- a/htdocs/admin/const.php +++ b/htdocs/admin/const.php @@ -49,7 +49,7 @@ $constnote=GETPOST('constnote','alpha'); * Actions */ -if ($action == 'add' || GETPOST('add')) +if ($action == 'add' || (GETPOST('add') && $action != 'update')) { $error=0;