diff options
author | alecpl <alec@alec.pl> | 2012-04-16 11:02:21 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-04-16 11:02:21 +0000 |
commit | 1aceb9cec82639250a603aa0806f0399f7bae68d (patch) | |
tree | 1fbeab49d53b6dccbc4230d73155e83e5547b264 /program/include/rcube_addressbook.php | |
parent | 4372e9278011452ec8723fa4434e1d3ade726213 (diff) |
- Framework refactoring (I hope it's the last one):
rcube,rcmail,rcube_ui -> rcube,rcmail,rcube_utils
renamed main.inc into rcube_bc.inc
Diffstat (limited to 'program/include/rcube_addressbook.php')
-rw-r--r-- | program/include/rcube_addressbook.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_addressbook.php b/program/include/rcube_addressbook.php index ca2f1e71c..2f264f974 100644 --- a/program/include/rcube_addressbook.php +++ b/program/include/rcube_addressbook.php @@ -216,7 +216,7 @@ abstract class rcube_addressbook // check validity of email addresses foreach ($this->get_col_values('email', $save_data, true) as $email) { if (strlen($email)) { - if (!$rcmail->check_email(rcube_idn_to_ascii($email))) { + if (!rcube_utils::check_email(rcube_utils::idn_to_ascii($email))) { $error = $rcmail->gettext(array('name' => 'emailformaterror', 'vars' => array('email' => $email))); $this->set_error(self::ERROR_VALIDATE, $error); return false; |