diff options
-rwxr-xr-x | include/functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index d59e79126..3adeae924 100755 --- a/include/functions.php +++ b/include/functions.php @@ -2206,7 +2206,8 @@ FROM ttrss_tags, ttrss_user_entries, ttrss_entries WHERE post_int_id = int_id AND $interval_query AND ref_id = ttrss_entries.id AND tag_cache != '' LIMIT ?"); - $sth->execute([$limit]); + $sth->bindValue(1, $limit_part, PDO::PARAM_INT); + $sth->execute(); $ids = array(); |