From 6c01e4e7d6c177ac345c826059e585bffdd1d517 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Fri, 7 Apr 2023 00:13:49 +0200 Subject: Use typed access to request parameters (#5267) * Use typed access to request parameters This was a big source of mixed datatypes in many places * Fix notifications * Fix bookmarkAction --- app/FreshRSS.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/FreshRSS.php') diff --git a/app/FreshRSS.php b/app/FreshRSS.php index 2213c34ca..2e7ef6faa 100644 --- a/app/FreshRSS.php +++ b/app/FreshRSS.php @@ -155,7 +155,7 @@ class FreshRSS extends Minz_FrontController { private static function loadNotifications(): void { $notif = Minz_Request::getNotification(); - if ($notif) { + if (!empty($notif)) { FreshRSS_View::_param('notification', $notif); } } -- cgit v1.2.3