소스 검색

Fix mark_when setter

mark_when was not taken in consideration.
Marien Fressinaud 11 년 전
부모
커밋
711ef5546c
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      app/Models/ConfigurationSetter.php

+ 1 - 3
app/Models/ConfigurationSetter.php

@@ -210,9 +210,7 @@ class FreshRSS_ConfigurationSetter {
 
 	private function _mark_when(&$data, $values) {
 		foreach ($values as $key => $value) {
-			if (isset($data['mark_when'][$key])) {
-				$data['mark_when'][$key] = $this->handleBool($value);
-			}
+			$data['mark_when'][$key] = $this->handleBool($value);
 		}
 	}