diff --git a/include/group.php b/include/group.php index fd3439b85..30a023d41 100644 --- a/include/group.php +++ b/include/group.php @@ -145,7 +145,7 @@ function group_side($every="contacts",$each="group",$edit = false, $group_id = 0 $createtext = t('Create a new group'); $linktext= t('Everybody'); - $selected = (($group_id == 0 && $every !== 'contacts') ? ' class="group-selected" ' : ''); + $selected = (($group_id == 0) ? ' class="group-selected" ' : ''); $o .= <<< EOT
\r\n"; diff --git a/mod/group.php b/mod/group.php index fd54b0eff..981796f67 100644 --- a/mod/group.php +++ b/mod/group.php @@ -7,7 +7,7 @@ function validate_members(&$item) { function group_init(&$a) { if(local_user()) { require_once('include/group.php'); - $a->page['aside'] = group_side(); + $a->page['aside'] = group_side('contacts','group',false,(($a->argc > 1) ? intval($a->argv[1]) : 0)); } }