summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-10-18 14:01:06 +0000
committeralecpl <alec@alec.pl>2011-10-18 14:01:06 +0000
commit4100242b93ff371daf2ff8ebfccbd5038d5f4809 (patch)
tree08bdc8d2aa063f4a191704a9facce770783f761f
parent2df4a9a29cdab38c314c66697da2e3aa60ee91b8 (diff)
- One if() too much
-rw-r--r--program/steps/addressbook/func.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc
index 0b045c9fd..fa9ff1c66 100644
--- a/program/steps/addressbook/func.inc
+++ b/program/steps/addressbook/func.inc
@@ -675,8 +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";
+ $out .= html::tag('fieldset', null, html::tag('legend', null, Q($fieldset['name'])) . $content) ."\n";
}
if ($edit_mode) {