From b08e5ab41b62c4a8d7c267cc4e736adabe5a3287 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 14 Dec 2018 06:33:57 +0000 Subject: [PATCH] Issue 6259: Suppress contact group widget only on network page --- src/Model/Group.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ''; } -- 2.39.5