Skip to content

A free, self-hostable news aggregator…

Fix wrong foreach in applyFilterActions (#2809)

shn77980b6d39a7952e
diff --git a/app/Models/Entry.php b/app/Models/Entry.php
index 813e63bb0..45ff7b8c2 100644
--- a/app/Models/Entry.php
+++ b/app/Models/Entry.php
@@ -295,7 +295,7 @@ class FreshRSS_Entry extends Minz_Model {
}
foreach ($this->feed->filterActions() as $filterAction) {
if ($this->matches($filterAction->booleanSearch())) {
- foreach ($filterAction->actions() as $action => $params) {
+ foreach ($filterAction->actions() as $action) {
switch ($action) {
case 'read':
$this->_isRead(true);