Parcourir la source

Fix mark_when setter

mark_when was not taken in consideration.
Marien Fressinaud il y a 11 ans
Parent
commit
711ef5546c
1 fichiers modifiés avec 1 ajouts et 3 suppressions
  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);
 		}
 	}