summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-12 08:39:40 +0000
committeralecpl <alec@alec.pl>2012-04-12 08:39:40 +0000
commitc71e95b775f94ac39a0b83c7cdbd15c4f545f557 (patch)
treeed298f5d7f86a407bb4cd00592f3dc9814f890a0 /program/steps
parent2c4d0bc88e44f07da6cdbad270265b43d3c36a15 (diff)
- Fix adding contact form fields in situation when the fieldset is empty.
Fixes issue with lost manager/assistant fields in LDAP addressbook
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 eb8a0e597..e32ce5a12 100644
--- a/program/steps/addressbook/func.inc
+++ b/program/steps/addressbook/func.inc
@@ -669,7 +669,7 @@ function rcmail_contact_form($form, $record, $attrib = null)
}
}
- if (!$content)
+ if (!$content && !$edit_mode)
continue;
// also render add-field selector