]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.php
1.15.3 to fix tag/version mismatch
[tt-rss.git] / prefs.php
index cc62677981dfc30f2632bb19a69efda228c43928..191f452c4e11cad86e0639cbe238ef45447244e6 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -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");