diff --git a/mod/notifications.php b/mod/notifications.php index da508a33c..a215f9d7a 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -78,7 +78,7 @@ function notifications_content(App $a) } $page = ($_REQUEST['page'] ?? 0) ?: 1; - $show = ($_REQUEST['show'] ?? '' === 'all'); + $show = isset($_REQUEST['show']) ? $_REQUEST['show'] : false; Nav::setSelected('notifications');