summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/func.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-12 12:06:30 +0000
committeralecpl <alec@alec.pl>2012-04-12 12:06:30 +0000
commit373e3df58031f6955a2c8b680ac54663d44a55d6 (patch)
treec2028f0b5e68c5a287778afc37f8b733d027b154 /program/steps/addressbook/func.inc
parent9336ba21cfdee9aca3898361a62b42a6027242df (diff)
- Small fix
Diffstat (limited to 'program/steps/addressbook/func.inc')
-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 e32ce5a12..a31370b16 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 && !$edit_mode)
+ if (!$content && (!$edit_mode || !$select_add->_count))
continue;
// also render add-field selector