summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-25 12:53:20 +0300
committerAndrew Dolgov <[email protected]>2021-02-25 12:53:20 +0300
commit2621fe795551b99c6c6ca9d5c2b7115345decca1 (patch)
treece22601cc7ddaea58b5ddae08eddbef4e97a39c1 /index.php
parentbd2314170dc183c154c2af05686ddb0224b5d133 (diff)
fix get_pref always using default profile; remove unneeded code from db_prefs
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index a21db6fc5..53ce612f0 100644
--- a/index.php
+++ b/index.php
@@ -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');
}