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 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, '/'); } -- 2.39.5