summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
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;
}