aboutsummaryrefslogtreecommitdiff
path: root/app/FreshRSS.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/FreshRSS.php')
-rw-r--r--app/FreshRSS.php2
1 files changed, 1 insertions, 1 deletions
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);
}
}