aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Entry.php
diff options
context:
space:
mode:
authorGravatar shn7798 <shn7798@gmail.com> 2020-02-29 23:12:04 +0800
committerGravatar GitHub <noreply@github.com> 2020-02-29 16:12:04 +0100
commit0b6d39a7952e9dff98e977d1bcc13476910cde0c (patch)
treed67506d8258223a8dae12678d83e8b50d4bccc30 /app/Models/Entry.php
parent925319653da34ab2854544402c0a299b3d761201 (diff)
Fix wrong foreach in applyFilterActions (#2809)
Diffstat (limited to 'app/Models/Entry.php')
-rw-r--r--app/Models/Entry.php2
1 files changed, 1 insertions, 1 deletions
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);