Issue 6259: Suppress contact group widget only on network page
This commit is contained in:
parent
5a802bc474
commit
b08e5ab41b
|
@ -400,8 +400,8 @@ class Group extends BaseObject
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't show the groups when there is only one
|
// Don't show the groups on the network page when there is only one
|
||||||
if (count($display_groups) <= 2) {
|
if ((count($display_groups) <= 2) && ($each == 'network')) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue