X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin.php;h=b9b59ece5f405ce696c877bf469619881f8cb448;hb=6aa5b6c3d7c49ceb5a41b836657321e9c0b5dea5;hp=eda91788cfcc5ef8594aa4709a8739f6917d7994;hpb=20a06616b67427859de74a0bfd9d40732c4ec68d;p=mailer.git diff --git a/inc/modules/admin.php b/inc/modules/admin.php index eda91788cf..b9b59ece5f 100644 --- a/inc/modules/admin.php +++ b/inc/modules/admin.php @@ -363,19 +363,19 @@ if (!isAdminRegistered()) { } else { // This little call constructs the whole default old and lacky menu system // on left side. It also renders the content on right side - doAdminAction(getWhat()); + doAdminAction(); } break; 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;