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…
Reference in New Issue