diff options
author | Andrew Dolgov <[email protected]> | 2021-02-25 12:53:20 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-25 12:53:20 +0300 |
commit | 2621fe795551b99c6c6ca9d5c2b7115345decca1 (patch) | |
tree | ce22601cc7ddaea58b5ddae08eddbef4e97a39c1 /index.php | |
parent | bd2314170dc183c154c2af05686ddb0224b5d133 (diff) |
fix get_pref always using default profile; remove unneeded code from db_prefs
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ <meta name="viewport" content="initial-scale=1,width=device-width" /> <?php if ($_SESSION["uid"] && empty($_SESSION["safe_mode"])) { - $theme = get_pref("USER_CSS_THEME", false, false); + $theme = get_pref("USER_CSS_THEME"); if ($theme && theme_exists("$theme")) { echo stylesheet_tag(get_theme_path($theme), 'theme_css'); } |