- Revert r5345 to handle non-array content too

release-0.7
alecpl 13 years ago
parent 4100242b93
commit 01169b6d56

@ -662,7 +662,7 @@ function rcmail_contact_form($form, $record, $attrib = null)
$rows);
}
if (empty($content))
if (!$content)
continue;
// also render add-field selector
@ -675,6 +675,7 @@ function rcmail_contact_form($form, $record, $attrib = null)
$content = $fieldset['content'];
}
if ($content)
$out .= html::tag('fieldset', null, html::tag('legend', null, Q($fieldset['name'])) . $content) ."\n";
}

Loading…
Cancel
Save