]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-logout.php
Rewrites/fixes for handling config entries in SQLs
[mailer.git] / inc / modules / admin / action-logout.php
index c8fe63df47a4e9172139cdaab169ac12719d1d67..b617cb7993586a01c70388c15813b1818e7a19fb 100644 (file)
@@ -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');
 }