diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2013-02-05 17:32:40 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2013-02-05 17:32:40 +0100 |
commit | e26bf88c453eeaf1d8bfcd89c900af62d656339c (patch) | |
tree | 5e7dcf065e5a81868f75c63b04079b69a2002aaf /program/steps | |
parent | e8fd39d12b4649d94d63d220d2201169b6dece08 (diff) |
Pass string to html::tag() in order to always add the </ul> tag
Diffstat (limited to 'program/steps')
-rw-r--r-- | 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 80631cd61..f6d2ae519 100644 --- a/program/steps/addressbook/func.inc +++ b/program/steps/addressbook/func.inc @@ -268,6 +268,7 @@ function rcmail_contact_groups($args) { global $RCMAIL; + $groups_html = ''; $groups = $RCMAIL->get_address_book($args['source'])->list_groups(); $js_id = $RCMAIL->JQ($args['source']); @@ -283,7 +284,6 @@ function rcmail_contact_groups($args) $args['out'] .= html::div('treetoggle ' . ($is_collapsed ? 'collapsed' : 'expanded'), ' '); $jsdata = array(); - $groups_html = ''; foreach ($groups as $group) { $groups_html .= sprintf($line_templ, rcube_utils::html_identifier('G' . $args['source'] . $group['ID'], true), |