simplify show determination

This commit is contained in:
Philipp Holzer 2019-10-26 05:03:58 +02:00
parent 3465bd9f11
commit 28d5f39330
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90
1 changed files with 1 additions and 1 deletions

View File

@ -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');