소스 검색

Fix wrong foreach in applyFilterActions (#2809)

shn7798 6 년 전
부모
커밋
0b6d39a795
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);