diff options
author | Mario <mario@mariovavti.com> | 2021-01-18 08:43:08 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-18 08:43:08 +0000 |
commit | cd59c67c678f2ac1cc8457c05e5420d38df152cc (patch) | |
tree | 68ec423a54139ed439acdb08bd3a1b8b1a5e8421 /include/items.php | |
parent | 37f1b774b7a71d59e41cfcc5215575a5309eac94 (diff) | |
download | volse-hubzilla-cd59c67c678f2ac1cc8457c05e5420d38df152cc.tar.gz volse-hubzilla-cd59c67c678f2ac1cc8457c05e5420d38df152cc.tar.bz2 volse-hubzilla-cd59c67c678f2ac1cc8457c05e5420d38df152cc.zip |
fix undefined variable
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 571359167..69c056f7e 100755 --- a/include/items.php +++ b/include/items.php @@ -4478,7 +4478,7 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C $sql_extra = " AND item.parent IN ( SELECT parent FROM item WHERE $item_uids and item_thread_top = 1 $sql_options $item_normal ) "; if($arr['since_id']) - $sql_extra .= " and item.id > " . $since_id . " "; + $sql_extra .= " and item.id > " . intval($arr['since_id']) . " "; if($arr['cat']) $sql_extra .= protect_sprintf(term_query('item', $arr['cat'], TERM_CATEGORY)); |