Add comment for changed line

This commit is contained in:
Ioannis Dressos
2024-10-29 17:20:34 +02:00
committed by GitHub
parent b54f09f235
commit 4c80b862a9

View File

@@ -68,6 +68,8 @@ class virtuser_file extends rcube_plugin
$arr = preg_split('/\s+/', trim($r[$i]));
if (count($arr) > 0) {
// Replace '\@' with '@' to handle cases where internal usernames include an '@' character.
// Sometimes usernames with '@' are saved with a leading '\' to avoid conflicts.
$p['user'] = trim(str_replace('\@', '@', $arr[count($arr) - 1]));
break;
}