* @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 *
), __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'))) {
}
} else {
// Account does not exists!
- loadTemplate('admin_settings_saved', false, '<div class="admin_failed">' . getMaskedMessage('ADMIN_MEMBER_404', getRequestParameter('userid')) . '</div>');
+ loadTemplate('admin_settings_saved', false, '<div class="admin_failed">' . getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid'))) . '</div>');
}
// Free the result