aboutsummaryrefslogtreecommitdiff
path: root/app/Models/ConfigurationSetter.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-18 13:04:08 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-18 13:04:08 +0100
commit711ef5546cd218f81595e6e3b479b929ffeb3bc7 (patch)
treec231c2c930612debef56a5ffbad255558466b572 /app/Models/ConfigurationSetter.php
parent517d5aa9c52694b21f66d429085348d2e4fd10d2 (diff)
Fix mark_when setter
mark_when was not taken in consideration.
Diffstat (limited to 'app/Models/ConfigurationSetter.php')
-rw-r--r--app/Models/ConfigurationSetter.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.php
index 7fd0836c1..eeb1f2f4c 100644
--- a/app/Models/ConfigurationSetter.php
+++ b/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);
}
}