From 8f49a2257b4d01ed3e709600bd5775b5a7a1e608 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 29 Mar 2013 19:20:46 +0400 Subject: [PATCH] fix stuff broken by previous pull --- include/sessions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sessions.php b/include/sessions.php index d38b79967..727d955d0 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, '/'); }