A free, self-hostable news aggregator…
Fix display_categories upgrade from 1.16.0 (#3018)
Alexandre Alapetitef6bfcba82735
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.phpindex 0026ae5b2..e6bcec54c 100644--- a/app/Models/ConfigurationSetter.php+++ b/app/Models/ConfigurationSetter.php@@ -183,7 +183,7 @@ class FreshRSS_ConfigurationSetter {}private function _display_categories(&$data, $value) {- if (!in_array($value, [ 'active', 'all', 'none' ])) {+ if (!in_array($value, [ 'active', 'all', 'none' ], true)) {$value = $value === true ? 'all' : 'active';}$data['display_categories'] = $value;