X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-edit_user.php;h=a9acd58ae12661378ace2c814c3d265ec1ac1a1b;hb=222b9cab2b3fb3c8fb01ff524f5d1d7cfbcb61e7;hp=6922dbedb93b0ab40773e97c5b2c79d110030faf;hpb=57227d33e870ec5cd271209c4a978a52b45c2dd6;p=mailer.git diff --git a/inc/modules/admin/what-edit_user.php b/inc/modules/admin/what-edit_user.php index 6922dbedb9..a9acd58ae1 100644 --- a/inc/modules/admin/what-edit_user.php +++ b/inc/modules/admin/what-edit_user.php @@ -20,6 +20,7 @@ * @TODO Add support for ext-country * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -65,12 +66,12 @@ LIMIT 1", ), __FILE__, __LINE__); } // END - if -if ((SQL_NUMROWS($result_main) == 1) || (!isGetRequestParameterSet('userid'))) { +if ((!isGetRequestParameterSet('userid')) || (SQL_NUMROWS($result_main) == 1)) { // User found 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'))) { @@ -135,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