diff options
author | Andrew Dolgov <[email protected]> | 2010-01-13 22:55:29 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-01-13 22:55:29 +0300 |
commit | cd039c04735988965a2299bcf9590cebe0d9827a (patch) | |
tree | 87ff3294ad55d5783103a2fc88a9f57c2bbbbe0a /functions.php | |
parent | 05044a59d7256add4ec241d5977951ada04477e2 (diff) |
get_user_theme_path: fix typecasting
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 1276146c3..2156d8f9f 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; } |