From: Roland Häder Date: Fri, 30 Oct 2009 09:56:21 +0000 (+0000) Subject: Missing admin account or wrong pass is not fatal X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4aad3058ce8599e89886118be8b1edaac220661c;p=mailer.git Missing admin account or wrong pass is not fatal --- diff --git a/inc/modules/admin.php b/inc/modules/admin.php index 0a26a6ff36..b9b59ece5f 100644 --- a/inc/modules/admin.php +++ b/inc/modules/admin.php @@ -369,13 +369,13 @@ if (!isAdminRegistered()) { case '404': // Administrator login not found setRequestPostElement('ok', $ret); - addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('ADMIN_404'), getSession('admin_login'))); + loadTemplate('admin_settings_saved', false, sprintf(getMessage('ADMIN_404'), getSession('admin_login'))); destroyAdminSession(); break; case 'pass': // Wrong password setRequestPostElement('ok', $ret); - addFatalMessage(__FILE__, __LINE__, getMessage('WRONG_PASS')); + loadTemplate('admin_settings_saved', false, getMessage('WRONG_PASS')); destroyAdminSession(); break;