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:
parent
656475ec78
commit
2c2f74a104
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue