X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-edit_user.php;h=9952eb94e295b92b776d5ef21a5621c4f1427699;hp=c3125cbac5bd4ce9cc5d6bdfbd1d035281e4c18d;hb=cf3765c38cf0a76f396aca291f71858936e92956;hpb=8cd3d68a23aa285f2fe149698a46cf8b4e3ac0ca diff --git a/inc/modules/admin/what-edit_user.php b/inc/modules/admin/what-edit_user.php index c3125cbac5..9952eb94e2 100644 --- a/inc/modules/admin/what-edit_user.php +++ b/inc/modules/admin/what-edit_user.php @@ -71,7 +71,7 @@ if ((!isGetRequestParameterSet('userid')) || (SQL_NUMROWS($result_main) == 1)) { if (!isGetRequestParameterSet('userid')) { // Output selection form with all confirmed user accounts listed addMemberSelectionBox(); - } elseif (isPostRequestParameterSet('edit')) { + } elseif (isFormSent('edit')) { // Ok, change the account... $updateUser = false; $add = ''; if ((!isPostRequestParameterSet('pass1')) && (!isPostRequestParameterSet('pass2'))) { @@ -111,10 +111,10 @@ LIMIT 1", postRequestParameter('email'), bigintval(getRequestParameter('userid')), ), __FILE__, __LINE__); - $content = getMessage('USER_ACCOUNT_SAVED'); + $content = '{--USER_ACCOUNT_SAVED--}'; } else { // Problem while saving data - $content = getMessage('USER_ACCOUNT_NOT_SAVED'); + $content = '{--USER_ACCOUNT_NOT_SAVED--}'; } // Load template @@ -136,7 +136,7 @@ LIMIT 1", } } else { // Account does not exists! - loadTemplate('admin_settings_saved', false, '
' . getMaskedMessage('ADMIN_MEMBER_404', getRequestParameter('userid')) . '
'); + loadTemplate('admin_settings_saved', false, '
' . getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid'))) . '
'); } // Free the result