diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-12 08:10:14 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-12 08:10:14 +0000 |
| commit | 3158fd3e702d0df6b7f95382fadbc94c5f5adbdf (patch) | |
| tree | 6b5a58b78029df04b8d6d3bcd3ecccb41241d12c /plugins/new_user_dialog/new_user_dialog.php | |
| parent | 8462effbfd59369335b22ab512221dbe56735182 (diff) | |
- Fixed IDNA encoding/decoding of e-mail addresses (#1487909)
git-svn-id: https://svn.roundcube.net/trunk@4749 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/new_user_dialog/new_user_dialog.php')
| -rw-r--r-- | plugins/new_user_dialog/new_user_dialog.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/new_user_dialog/new_user_dialog.php b/plugins/new_user_dialog/new_user_dialog.php index c8b82fdab..0d6837335 100644 --- a/plugins/new_user_dialog/new_user_dialog.php +++ b/plugins/new_user_dialog/new_user_dialog.php @@ -62,7 +62,7 @@ class new_user_dialog extends rcube_plugin $table->add(null, html::tag('input', array( 'type' => 'text', 'name' => '_email', - 'value' => idn_to_utf8($identity['email']), + 'value' => rcube_idn_to_utf8($identity['email']), 'disabled' => ($identities_level == 1 || $identities_level == 3) ))); @@ -112,7 +112,7 @@ class new_user_dialog extends rcube_plugin if ($identities_level == 1 || $identities_level == 3) $save_data['email'] = $identity['email']; else - $save_data['email'] = idn_to_ascii($save_data['email']); + $save_data['email'] = rcube_idn_to_ascii($save_data['email']); // save data if not empty if (!empty($save_data['name']) && !empty($save_data['email'])) { |
