summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-09 11:37:26 +0300
committerAndrew Dolgov <[email protected]>2018-12-09 11:37:26 +0300
commit703351c79e86cc6bb357bd40f7dc75a7da1e7a51 (patch)
treeee941bbe31581f607997aa977261b19e37624dc7 /prefs.php
parentb2c079893bbd783193fd212db435f5e6ebc8b094 (diff)
remove theme supports-version etc checking
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/prefs.php b/prefs.php
index ff2840ef5..92b32fd61 100644
--- a/prefs.php
+++ b/prefs.php
@@ -39,7 +39,7 @@
<?php if ($_SESSION["uid"]) {
$theme = get_pref("USER_CSS_THEME", false, false);
- if ($theme && theme_valid("$theme")) {
+ if ($theme && theme_exists("$theme")) {
echo stylesheet_tag(get_theme_path($theme));
} else {
echo stylesheet_tag("css/default.css");