mirror of
https://github.com/friendica/friendica
synced 2024-12-23 20:00:16 +00:00
Merge pull request #501 from fermionic/network-remember-filters
don't set a date as a group
This commit is contained in:
commit
9daafe7489
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ function network_init(&$a) {
|
|||
if(x($_GET['nets']) && $_GET['nets'] === 'all')
|
||||
unset($_GET['nets']);
|
||||
|
||||
$group_id = (($a->argc > 1 && intval($a->argv[1])) ? intval($a->argv[1]) : 0);
|
||||
$group_id = (($a->argc > 1 && is_numeric($a->argv[1])) ? intval($a->argv[1]) : 0);
|
||||
|
||||
set_pconfig(local_user(), 'network.view', 'group.selected', $group_id);
|
||||
|
||||
|
|
Loading…
Reference in a new issue