A free, self-hostable news aggregator…
Error when deleting a feed, wrong object
Alexandre Alapetited7706b66f586
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.phpindex 978cc8cb9..7f433239c 100644--- a/app/Models/ConfigurationSetter.php+++ b/app/Models/ConfigurationSetter.php@@ -117,7 +117,7 @@ class FreshRSS_ConfigurationSetter {private function _queries(&$data, $values) {$data['queries'] = array();foreach ($values as $value) {- if ($value != null) {+ if ($value instanceof FreshRSS_UserQuery) {$data['queries'][] = $value->toArray();}}