summaryrefslogtreecommitdiff
path: root/plugins/virtuser_file
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/virtuser_file')
-rw-r--r--plugins/virtuser_file/virtuser_file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/virtuser_file/virtuser_file.php b/plugins/virtuser_file/virtuser_file.php
index d91e532a9..9d4efd12b 100644
--- a/plugins/virtuser_file/virtuser_file.php
+++ b/plugins/virtuser_file/virtuser_file.php
@@ -40,7 +40,7 @@ class virtuser_file extends rcube_plugin
$arr = preg_split('/\s+/', $r[$i]);
if (count($arr) > 0 && strpos($arr[0], '@')) {
- $result[] = idn_to_ascii(trim(str_replace('\\@', '@', $arr[0])));
+ $result[] = rcube_idn_to_ascii(trim(str_replace('\\@', '@', $arr[0])));
if ($p['first']) {
$p['email'] = $result[0];