simplify show determination
This commit is contained in:
parent
3465bd9f11
commit
28d5f39330
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue