]> git.mxchange.org Git - mailer.git/commitdiff
Even more fixes :(
authorRoland Häder <roland@mxchange.org>
Sun, 4 Nov 2012 01:44:58 +0000 (01:44 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 4 Nov 2012 01:44:58 +0000 (01:44 +0000)
inc/loader/load-filter.php
inc/modules/admin.php

index 58b8687d5bb45f33c7ca069a65c55d0fe2aa04b0..b10cb34ab1edae078119e8277e424452803fe059 100644 (file)
@@ -55,7 +55,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('filter')) && ($GLOBALS['cache_in
        $GLOBALS['cache_instance']->init();
 
        // Query for all filters
-       $result = SQL_QUERY('SELECT * FROM `{?_MYSQL_PREFIX?}_filters` ORDER BY `filter_name` ASC,`filter_id` ASC', __FILE__, __LINE__);
+       $result = SQL_QUERY('SELECT * FROM `{?_MYSQL_PREFIX?}_filters` ORDER BY `filter_name` ASC, `filter_id` ASC', __FILE__, __LINE__);
 
        // Load all filters
        while ($content = SQL_FETCHARRAY($result)) {
index d8f29a6bcdf0fccdf2da5a32b681aa259fc95097..75e43f401dfe1f14e873d82b0fcf4d931fe078fc 100644 (file)
@@ -383,7 +383,7 @@ if (!isAdminRegistered()) {
                        destroyAdminSession();
                        break;
 
-               case 'invalid': // Invalid admin session
+               case 'session': // Invalid admin session
                        setPostRequestElement('login', $ret);
                        displayMessage('{--INVALID_ADMIN_SESSION--}');
                        destroyAdminSession();