mirror of
https://github.com/friendica/friendica
synced 2024-11-18 21:43:40 +00:00
Issue 6259: Suppress contact group widget only on network page
This commit is contained in:
parent
5a802bc474
commit
b08e5ab41b
1 changed files with 2 additions and 2 deletions
|
@ -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 '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue