summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/themes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/themes.php b/lib/themes.php
index dfe49292..bb6c180a 100644
--- a/lib/themes.php
+++ b/lib/themes.php
@@ -79,6 +79,7 @@ function set_theme_colors($theme_name,$user_id) {
This could be dangerous but eah!
*/
$theme = get_theme($theme_name);
+ $GLOBALS['theme'] = $theme;
if (!count($theme['color'])) { return false; }
foreach ($theme['color'] as $key=>$color) {