1
1
Fork 0

don't set a date as a group

This commit is contained in:
Zach Prezkuta 2012-10-01 14:07:32 -06:00
parent 421c72d10f
commit c6061d598f

View file

@ -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);