mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 09:05:55 +00:00
fix get_pref always using default profile; remove unneeded code from db_prefs
This commit is contained in:
@@ -20,7 +20,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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user