Skip to content
Snippets Groups Projects
Commit f7fe28d0 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

fix user theme ignoring active settings profile

parent 1da08181
No related branches found
No related tags found
1 merge request!1Update 19.2
......@@ -64,7 +64,7 @@
<?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
<?php if ($_SESSION["uid"]) {
$theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
$theme = get_pref("USER_CSS_THEME");
if ($theme && theme_valid("$theme")) {
echo stylesheet_tag(get_theme_path($theme));
} else {
......
......@@ -40,7 +40,7 @@
<?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
<?php if ($_SESSION["uid"]) {
$theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
$theme = get_pref("USER_CSS_THEME");
if ($theme && theme_valid("$theme")) {
echo stylesheet_tag(get_theme_path($theme));
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment