mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-12-10 23:41:17 +01:00
fix filter last_triggered not updating
This commit is contained in:
parent
56fd06d611
commit
c57ebf2c10
@ -847,7 +847,8 @@ class RSSUtils {
|
|||||||
if (count($matched_filter_ids) > 0) {
|
if (count($matched_filter_ids) > 0) {
|
||||||
$filter_objs = ORM::for_table('ttrss_filters2')
|
$filter_objs = ORM::for_table('ttrss_filters2')
|
||||||
->where('owner_uid', $feed_obj->owner_uid)
|
->where('owner_uid', $feed_obj->owner_uid)
|
||||||
->where_in('id', $matched_filter_ids);
|
->where_in('id', $matched_filter_ids)
|
||||||
|
->find_many();
|
||||||
|
|
||||||
foreach ($filter_objs as $filter_obj) {
|
foreach ($filter_objs as $filter_obj) {
|
||||||
$filter_obj->set('last_triggered', Db::NOW());
|
$filter_obj->set('last_triggered', Db::NOW());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user