]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-logout.php
New generic template added (new CSS classes), some inconsistencies fixed:
[mailer.git] / inc / modules / admin / action-logout.php
index 8a05dad61967ab80224cdd8c9bf1e9ef5a2a0a5f..b490b63cd3f8b30695a20a92b9d893fd0bfd4ba6 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 01/13/2006 *
- * ===============                              Last change: 01/13/2006 *
+ * Mailer v0.2.1-FINAL                                Start: 01/13/2006 *
+ * ===================                          Last change: 01/13/2006 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : action-logout.php                                *
@@ -44,10 +44,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&amp;logout=1');
 }