diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-12-07 11:13:11 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-12-07 11:13:11 +0100 |
commit | 996af3bfd9bfcac84396790a9a215d177b17c79e (patch) | |
tree | ed80623400c0abaed69856399d015f20392180eb /program/lib/Roundcube/rcube_addressbook.php | |
parent | 8b748de4ec5e48c7cc0e3f4942669c369710830e (diff) |
Some more rcmail -> rcube cleanup
Diffstat (limited to 'program/lib/Roundcube/rcube_addressbook.php')
-rw-r--r-- | program/lib/Roundcube/rcube_addressbook.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_addressbook.php b/program/lib/Roundcube/rcube_addressbook.php index d14fc587a..ea8df700c 100644 --- a/program/lib/Roundcube/rcube_addressbook.php +++ b/program/lib/Roundcube/rcube_addressbook.php @@ -209,13 +209,13 @@ abstract class rcube_addressbook */ public function validate(&$save_data, $autofix = false) { - $rcmail = rcube::get_instance(); + $rcube = rcube::get_instance(); // check validity of email addresses foreach ($this->get_col_values('email', $save_data, true) as $email) { if (strlen($email)) { if (!rcube_utils::check_email(rcube_utils::idn_to_ascii($email))) { - $error = $rcmail->gettext(array('name' => 'emailformaterror', 'vars' => array('email' => $email))); + $error = $rcube->gettext(array('name' => 'emailformaterror', 'vars' => array('email' => $email))); $this->set_error(self::ERROR_VALIDATE, $error); return false; } |