don't set a date as a group
This commit is contained in:
parent
421c72d10f
commit
c6061d598f
|
@ -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 New Issue
Block a user