From: Andrew Dolgov Date: Fri, 29 Mar 2013 15:20:46 +0000 (+0400) Subject: fix stuff broken by previous pull X-Git-Tag: 1.7.6~158 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8f49a2257b4d01ed3e709600bd5775b5a7a1e608;p=tt-rss.git fix stuff broken by previous pull --- diff --git a/include/sessions.php b/include/sessions.php index d38b7996..727d955d 100644 --- a/include/sessions.php +++ b/include/sessions.php @@ -106,7 +106,7 @@ 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, '/'); }