summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-04-12 12:06:30 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-04-12 12:06:30 +0000
commit7a8901c568f8b8f22dedc9ed296d0049fdac966e (patch)
treed6cd9c134fa986b6069b35920d2343a4ae2d7ba5
parente2787e1a6d649494122250acf63cb2ff88509cae (diff)
- Small fix
git-svn-id: https://svn.roundcube.net/trunk@6068 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/addressbook/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/addressbook/func.inc b/roundcubemail/program/steps/addressbook/func.inc
index e32ce5a12..a31370b16 100644
--- a/roundcubemail/program/steps/addressbook/func.inc
+++ b/roundcubemail/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