From: Andrew Dolgov Date: Wed, 13 Jan 2010 19:55:29 +0000 (+0300) Subject: get_user_theme_path: fix typecasting X-Git-Tag: 1.4.0~51 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=cd039c04735988965a2299bcf9590cebe0d9827a;p=tt-rss.git get_user_theme_path: fix typecasting --- diff --git a/functions.php b/functions.php index 1276146c..2156d8f9 100644 --- a/functions.php +++ b/functions.php @@ -1994,7 +1994,7 @@ function get_user_theme_path($link) { if (get_schema_version($link) >= 63) { - $theme_id = get_pref($link, "_THEME_ID"); + $theme_id = (int) get_pref($link, "_THEME_ID"); } else { $theme_id = 1; }