Explorar el Código

Fix wrong foreach in applyFilterActions (#2809)

shn7798 hace 6 años
padre
commit
0b6d39a795
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Models/Entry.php

+ 1 - 1
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);