summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-06-26 22:11:43 +0200
committerBenny Baumann <BenBE@geshi.org>2013-06-26 22:11:43 +0200
commit11309775f21c2272d5cfa03789d5381928b398c8 (patch)
treefb656d0910501a4f21ee6140c2cbd5d577ced177 /includes
parent65d9c80b1e280a15f073fd429f45a770767701ac (diff)
downloadcacert-devel-11309775f21c2272d5cfa03789d5381928b398c8.tar.gz
cacert-devel-11309775f21c2272d5cfa03789d5381928b398c8.tar.xz
cacert-devel-11309775f21c2272d5cfa03789d5381928b398c8.zip
bug 1176: Fix some syntax errors
Diffstat (limited to 'includes')
-rw-r--r--includes/loggedin.php4
1 files changed, 2 insertions, 2 deletions
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;
}