]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix stuff broken by previous pull
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 29 Mar 2013 15:20:46 +0000 (19:20 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 29 Mar 2013 15:20:46 +0000 (19:20 +0400)
include/sessions.php

index d38b79967ed24eac4a529ced32a2b37b08a81ac0..727d955d03d0639651758c94b762bba7e6cfa2a6 100644 (file)
                if (isset($_COOKIE[$session_name])) {
                        @session_start();
 
-                       if (!isset($_SESSION["uid"] || !$_SESSION["uid"]) {
+                       if (!isset($_SESSION["uid"]) || !$_SESSION["uid"]) {
                                session_destroy();
                           setcookie(session_name(), '', time()-42000, '/');
                        }