From: Michael Date: Fri, 14 Dec 2018 06:33:57 +0000 (+0000) Subject: Issue 6259: Suppress contact group widget only on network page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b08e5ab41b62c4a8d7c267cc4e736adabe5a3287;p=friendica.git Issue 6259: Suppress contact group widget only on network page --- diff --git a/src/Model/Group.php b/src/Model/Group.php index d33690d580..5424b77dcf 100644 --- a/src/Model/Group.php +++ b/src/Model/Group.php @@ -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 ''; }