From: Philipp Holzer Date: Sat, 26 Oct 2019 03:03:58 +0000 (+0200) Subject: simplify show determination X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=28d5f393307e8ec7d08172db9e88428984e71315;p=friendica.git simplify show determination --- diff --git a/mod/notifications.php b/mod/notifications.php index da508a33c2..a215f9d7a6 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');