Issue 6259: Suppress contact group widget only on network page

This commit is contained in:
Michael 2018-12-14 06:33:57 +00:00
parent 5a802bc474
commit b08e5ab41b

View File

@ -400,8 +400,8 @@ class Group extends BaseObject
];
}
// Don't show the groups when there is only one
if (count($display_groups) <= 2) {
// Don't show the groups on the network page when there is only one
if ((count($display_groups) <= 2) && ($each == 'network')) {
return '';
}