X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-logout.php;h=fa356daedf2a3a4c6d7fb8eae1320a84540acbf4;hb=98b92ea5ba992a63304091fa1b57f477befffc22;hp=c8fe63df47a4e9172139cdaab169ac12719d1d67;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/inc/modules/admin/action-logout.php b/inc/modules/admin/action-logout.php index c8fe63df47..fa356daedf 100644 --- a/inc/modules/admin/action-logout.php +++ b/inc/modules/admin/action-logout.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * 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 * @@ -44,10 +45,10 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { // Add description as navigation point addMenuDescription('admin', __FILE__); -if (isPostRequestElementSet('no')) { +if (isPostRequestParameterSet('no')) { // Do not logout now redirectToUrl('admin.php'); -} elseif ((isPostRequestElementSet(('yes'))) && (getAction() == 'logout')) { +} elseif ((isPostRequestParameterSet('yes')) && (getAction() == 'logout')) { // Redirect to logout link redirectToUrl('modules.php?module=admin&logout=1'); }