diff options
Diffstat (limited to 'prefs.php')
-rw-r--r-- | prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ <?php if ($_SESSION["uid"]) { $theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false); - if ($theme && file_exists("themes/$theme")) { + if ($theme && theme_valid("$theme")) { echo stylesheet_tag("themes/$theme"); } else { echo stylesheet_tag("themes/default.css"); |