diff options
author | Friendika <info@friendika.com> | 2011-04-22 00:11:28 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-22 00:11:28 -0700 |
commit | b6036418075da2f5137ba68c426fbb4fe5f5f0b3 (patch) | |
tree | 02e382ab60d7d1cd7316681f600c29cc88c825eb /boot.php | |
parent | 639d52ec181e2c481a8f7697f93278c84a78ec7e (diff) | |
download | volse-hubzilla-b6036418075da2f5137ba68c426fbb4fe5f5f0b3.tar.gz volse-hubzilla-b6036418075da2f5137ba68c426fbb4fe5f5f0b3.tar.bz2 volse-hubzilla-b6036418075da2f5137ba68c426fbb4fe5f5f0b3.zip |
doc updates
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |