summaryrefslogtreecommitdiff
path: root/plugins/virtuser_file/virtuser_file.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/virtuser_file/virtuser_file.php')
-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 01032616c..2c705b2d0 100644
--- a/plugins/virtuser_file/virtuser_file.php
+++ b/plugins/virtuser_file/virtuser_file.php
@@ -41,7 +41,7 @@ class virtuser_file extends rcube_plugin
$arr = preg_split('/\s+/', $r[$i]);
if (count($arr) > 0 && strpos($arr[0], '@')) {
- $result[] = rcube_idn_to_ascii(trim(str_replace('\\@', '@', $arr[0])));
+ $result[] = rcube_utils::idn_to_ascii(trim(str_replace('\\@', '@', $arr[0])));
if ($p['first']) {
$p['email'] = $result[0];