Skip to content

Commit

Permalink
Fix: Update when submitting form
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 6, 2013
1 parent 76d111b commit 62e2095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/admin/const.php
Expand Up @@ -49,7 +49,7 @@
* Actions
*/

if ($action == 'add' || GETPOST('add'))
if ($action == 'add' || (GETPOST('add') && $action != 'update'))
{
$error=0;

Expand Down

0 comments on commit 62e2095

Please sign in to comment.