From: Zach Prezkuta Date: Mon, 1 Oct 2012 20:07:32 +0000 (-0600) Subject: don't set a date as a group X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c6061d598f1ad1d54d2b6df861f07e8a07aefafb;p=friendica.git don't set a date as a group --- diff --git a/mod/network.php b/mod/network.php index b5582b5fad..ef1fd877b1 100644 --- a/mod/network.php +++ b/mod/network.php @@ -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);