From ef1d6525c2333794d954ccce33de1bcd533f85c8 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Mon, 06 May 2013 09:05:27 -0400 Subject: [PATCH] Fix display issue on addressbooks/groups list (#1489039) --- program/steps/addressbook/func.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc index f0fb433..d8a8e25 100644 --- a/program/steps/addressbook/func.inc +++ b/program/steps/addressbook/func.inc @@ -297,7 +297,7 @@ } $args['out'] .= html::tag('ul', - array('class' => 'groups', 'style' => ($is_collapsed ? "display:none;" : null)), + array('class' => 'groups', 'style' => ($is_collapsed || empty($groups) ? "display:none;" : null)), $groups_html); return $args; -- Gitblit v1.9.1