summaryrefslogtreecommitdiff
path: root/program/steps/addressbook
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-02-04 13:44:47 +0000
committeralecpl <alec@alec.pl>2011-02-04 13:44:47 +0000
commitd80bd153a4ad57c243ed1349c6fb5ef2d968f206 (patch)
tree981dfe857e5af039013c52912970e1e63dc0bd59 /program/steps/addressbook
parent47f55c0d085d913be61656a891ef607bdd2b7164 (diff)
- Fix email_dns_check setting not used for identities/contacts (#1487740)
Diffstat (limited to 'program/steps/addressbook')
-rw-r--r--program/steps/addressbook/save.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/save.inc b/program/steps/addressbook/save.inc
index 934db4c73..3d55d953c 100644
--- a/program/steps/addressbook/save.inc
+++ b/program/steps/addressbook/save.inc
@@ -143,7 +143,7 @@ if (empty($a_record['name'])/* || empty($a_record['email'])*/) {
foreach ($CONTACTS->get_col_values('email', $a_record, true) as $email) {
if (strlen($email)) {
$_email = rcube_idn_to_ascii($email);
- if (!check_email($_email, false)) {
+ if (!check_email($_email)) {
$OUTPUT->show_message('emailformaterror', 'warning', array('email' => $email));
rcmail_overwrite_action($return_action);
return;