Skip to content

Commit

Permalink
Do not display the wrong amount of users for empty groups
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
majentsch authored and lippserd committed Sep 29, 2015
1 parent f23aeba commit b7121c5
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -388,7 +388,9 @@ public function contactgroupsAction()
'contacts' => array()
);
}
$groupData[$c->contactgroup_name]['contacts'][] = $c;
if (isset ($c->contact_name)) {
$groupData[$c->contactgroup_name]['contacts'][] = $c;
}
}

// TODO: Find a better naming
Expand Down

0 comments on commit b7121c5

Please sign in to comment.