From cd039c04735988965a2299bcf9590cebe0d9827a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 13 Jan 2010 22:55:29 +0300 Subject: [PATCH] get_user_theme_path: fix typecasting --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5