mirror of
https://github.com/friendica/friendica
synced 2024-11-14 02:43:43 +01:00
simplify show determination
This commit is contained in:
parent
3465bd9f11
commit
28d5f39330
|
@ -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