Issue 6259: Suppress contact group widget only on network page
This commit is contained in:
@@ -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 '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user