A free, self-hostable news aggregator…
Fix remove last share (#7613)
Alexandre Alapetite62592da2837d
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.phpindex d502ca717..4f448c5e0 100644--- a/app/Controllers/configureController.php+++ b/app/Controllers/configureController.php@@ -178,7 +178,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController {FreshRSS_View::appendScript(Minz_Url::display('/scripts/draggable.js?' . @filemtime(PUBLIC_PATH . '/scripts/draggable.js')));if (Minz_Request::isPost()) {- $share = $_POST['share'] ?? null;+ $share = $_POST['share'] ?? [];if (is_array($share)) {$share = array_filter($share, fn($value, $key): bool =>is_int($key) && is_array($value) &&