summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
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;
}