X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-logout.php;h=cac947979c74380a7fef91e3e3c67651e28f65b3;hp=17e3e35a66a94f065ef705da6adba96a17fcee37;hb=49acdb7a7adbcf25a8e8683b5581bfcec72b23bd;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2 diff --git a/inc/modules/admin/action-logout.php b/inc/modules/admin/action-logout.php index 17e3e35a66..cac947979c 100644 --- a/inc/modules/admin/action-logout.php +++ b/inc/modules/admin/action-logout.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2015 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -43,10 +43,10 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { // Add description as navigation point addYouAreHereLink('admin', __FILE__); -if (isPostRequestParameterSet('no')) { +if (isPostRequestElementSet('no')) { // Do not logout now redirectToUrl('admin.php'); -} elseif ((isPostRequestParameterSet('yes')) && (getAction() == 'logout')) { +} elseif ((isPostRequestElementSet('yes')) && (getAction() == 'logout')) { // Redirect to logout link redirectToUrl('modules.php?module=admin&logout=1'); }