diff --git a/htdocs/admin/const.php b/htdocs/admin/const.php index 895ce8c1b08..51de87d054e 100644 --- a/htdocs/admin/const.php +++ b/htdocs/admin/const.php @@ -64,9 +64,9 @@ if ($action == 'add' && GETPOST('update')) { // Click on button update must be u if ($action == 'add' && GETPOST('delete')) { // Click on button update must be used in priority before param $action $action = 'delete'; } -if ($action == 'update' && GETPOST('add')) { // Click on button add must be used in priority before param $action +/*if ($action == 'update' && GETPOST('add')) { // 'add' button is always clicked as it is the first in form. $action = 'add'; -} +}*/ if ($action == 'delete' && GETPOST('add')) { // Click on button add must be used in priority before param $action $action = 'add'; } @@ -234,7 +234,7 @@ if (isModEnabled('multicompany') && !$user->entity) { print ''; print ''; } -print ''; +print ''; print "\n"; print '';