summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-06 15:05:27 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-06 15:05:27 +0200
commitef1d6525c2333794d954ccce33de1bcd533f85c8 (patch)
tree0599c26ad66df4809dd45098d7701858af74a254 /program/steps
parentce89ecd54277fdd8113320ba463dfab6d504b00c (diff)
Fix display issue on addressbooks/groups list (#1489039)
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/addressbook/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc
index f0fb433bf..d8a8e2556 100644
--- a/program/steps/addressbook/func.inc
+++ b/program/steps/addressbook/func.inc
@@ -297,7 +297,7 @@ function rcmail_contact_groups($args)
}
$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;