aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-22 00:11:28 -0700
committerFriendika <info@friendika.com>2011-04-22 00:11:28 -0700
commitb6036418075da2f5137ba68c426fbb4fe5f5f0b3 (patch)
tree02e382ab60d7d1cd7316681f600c29cc88c825eb /boot.php
parent639d52ec181e2c481a8f7697f93278c84a78ec7e (diff)
downloadvolse-hubzilla-b6036418075da2f5137ba68c426fbb4fe5f5f0b3.tar.gz
volse-hubzilla-b6036418075da2f5137ba68c426fbb4fe5f5f0b3.tar.bz2
volse-hubzilla-b6036418075da2f5137ba68c426fbb4fe5f5f0b3.zip
doc updates
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 13d6a36d2..552c6ebb1 100644
--- a/boot.php
+++ b/boot.php
@@ -2513,7 +2513,7 @@ function current_theme(){
$a = get_app();
$system_theme = ((isset($a->config['system']['theme'])) ? $a->config['system']['theme'] : '');
- $theme_name = ((x($_SESSION,'theme')) ? $_SESSION['theme'] : $system_theme);
+ $theme_name = ((is_array($_SESSION) && x($_SESSION,'theme')) ? $_SESSION['theme'] : $system_theme);
if($theme_name && file_exists('view/theme/' . $theme_name . '/style.css'))
return($theme_name);