]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-logout.php
Even more www. removed
[mailer.git] / inc / modules / admin / action-logout.php
index 17e3e35a66a94f065ef705da6adba96a17fcee37..fc9bbeb34760ae6cb182efe784802812bbdd33e8 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * 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');
 }