mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:00:16 +00:00
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