From 11309775f21c2272d5cfa03789d5381928b398c8 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Wed, 26 Jun 2013 22:11:43 +0200 Subject: bug 1176: Fix some syntax errors --- includes/loggedin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/loggedin.php') diff --git a/includes/loggedin.php b/includes/loggedin.php index 6b37119..0070ede 100644 --- a/includes/loggedin.php +++ b/includes/loggedin.php @@ -20,10 +20,10 @@ require_once("../includes/lib/l10n.php"); include_once("../includes/mysql.php"); - if(!is_array($_SESSION['profile']) { + if(!is_array($_SESSION['profile'])) { $_SESSION['profile'] = array( 'id' => 0, 'loggedin' => 0 ); } - if(!isset($_SESSION['profile']['id'] || !isset($_SESSION['profile']['loggedin']) { + if(!isset($_SESSION['profile']['id']) || !isset($_SESSION['profile']['loggedin'])) { $_SESSION['profile']['id'] = 0; $_SESSION['profile']['loggedin'] = 0; } -- cgit v1.2.1