alecpl
2011-10-18 01169b6d5626d5a5bef20e43d86a5605a66ccdf0
- Revert r5345 to handle non-array content too


1 files modified
5 ■■■■■ changed files
program/steps/addressbook/func.inc 5 ●●●●● patch | view | raw | blame | history
program/steps/addressbook/func.inc
@@ -662,7 +662,7 @@
                  $rows);
            }
            if (empty($content))
            if (!$content)
                continue;
            // also render add-field selector
@@ -675,7 +675,8 @@
            $content = $fieldset['content'];
        }
        $out .= html::tag('fieldset', null, html::tag('legend', null, Q($fieldset['name'])) . $content) ."\n";
        if ($content)
            $out .= html::tag('fieldset', null, html::tag('legend', null, Q($fieldset['name'])) . $content) ."\n";
    }
    if ($edit_mode) {