]> git.mxchange.org Git - friendica.git/commitdiff
Issue 6259: Suppress contact group widget only on network page
authorMichael <heluecht@pirati.ca>
Fri, 14 Dec 2018 06:33:57 +0000 (06:33 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 14 Dec 2018 06:33:57 +0000 (06:33 +0000)
src/Model/Group.php

index d33690d580a48b3067b27accd7a9d6bea2fc9c9b..5424b77dcfaec483ed3365e92e7ec82ff5226650 100644 (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 '';
                }