mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 15:31:28 +00:00
get_user_theme_path: fix typecasting
This commit is contained in:
@@ -1994,7 +1994,7 @@
|
|||||||
function get_user_theme_path($link) {
|
function get_user_theme_path($link) {
|
||||||
|
|
||||||
if (get_schema_version($link) >= 63) {
|
if (get_schema_version($link) >= 63) {
|
||||||
$theme_id = get_pref($link, "_THEME_ID");
|
$theme_id = (int) get_pref($link, "_THEME_ID");
|
||||||
} else {
|
} else {
|
||||||
$theme_id = 1;
|
$theme_id = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user