diff options
| author | 2015-03-24 22:45:27 +0100 | |
|---|---|---|
| committer | 2015-03-24 22:45:27 +0100 | |
| commit | 239a010ef23127429698b6be5f4a5453b0bfbad7 (patch) | |
| tree | 7d33f4ed3af83afcee90149318c53d5d4df79ffb /app/Models/ConfigurationSetter.php | |
| parent | 5376c37907257ca3515b257413740721bd030254 (diff) | |
Error when deleting a feed
https://github.com/FreshRSS/FreshRSS/issues/816
Diffstat (limited to 'app/Models/ConfigurationSetter.php')
| -rw-r--r-- | app/Models/ConfigurationSetter.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.php index d7689752f..978cc8cb9 100644 --- a/app/Models/ConfigurationSetter.php +++ b/app/Models/ConfigurationSetter.php @@ -117,7 +117,9 @@ class FreshRSS_ConfigurationSetter { private function _queries(&$data, $values) { $data['queries'] = array(); foreach ($values as $value) { - $data['queries'][] = $value->toArray(); + if ($value != null) { + $data['queries'][] = $value->toArray(); + } } } |
