mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:15:55 +00:00
PDO error in cleanup_tags repaired
Changes : - add PDO::PARAM_INT to a value in a PDO query - switch limit to limit_part to respect semantic here (cleanup by packages)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user