summaryrefslogtreecommitdiff
path: root/includes/general.php
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-04-30 18:30:20 +0200
committerBenny Baumann <BenBE@geshi.org>2014-04-30 20:18:56 +0200
commit346899e832bd91f16733e197f592e7dae0173f70 (patch)
treeb106ac272adc4bb0740fdbb0ab33e684e4eea1fd /includes/general.php
parent7f02d479140d2c47e9359191ed2a7d687c6b9a33 (diff)
downloadcacert-devel-346899e832bd91f16733e197f592e7dae0173f70.tar.gz
cacert-devel-346899e832bd91f16733e197f592e7dae0173f70.tar.xz
cacert-devel-346899e832bd91f16733e197f592e7dae0173f70.zip
bug 1138: Whitespace changes and code formatting
Diffstat (limited to 'includes/general.php')
-rw-r--r--includes/general.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/general.php b/includes/general.php
index fcd094a..9eb5060 100644
--- a/includes/general.php
+++ b/includes/general.php
@@ -77,7 +77,7 @@
L10n::detect_language();
L10n::init_gettext();
- if(array_key_exists('profile',$_SESSION) && is_array($_SESSION['profile']) && array_key_exists('id',$_SESSION['profile']) && $_SESSION['profile']['id'] > 0)
+ if(array_key_exists('profile',$_SESSION) && is_array($_SESSION['profile']) && array_key_exists('id',$_SESSION['profile']) && $_SESSION['profile']['id'] > 0)
{
$locked = mysql_fetch_assoc(mysql_query("select `locked` from `users` where `id`='".intval($_SESSION['profile']['id'])."'"));
if($locked['locked'] == 0)