We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8a6a47 commit 1a9fefaCopy full SHA for 1a9fefa
ispconfig3_autoselect/ispconfig3_autoselect.php
@@ -73,7 +73,7 @@ private function getHost($user)
73
$mail_user = $this->soap->mail_user_get($session_id, ['login' => $user]);
74
// Alternatively also search the email field, this can differ from the login field for legacy reasons
75
if (empty($mail_user)) {
76
- $mail_user = $this->soap->mail_user_get($session_id, ['email' => $this->rcmail->user->data['username']]);
+ $mail_user = $this->soap->mail_user_get($session_id, ['email' => $user]);
77
}
78
79
if (count($mail_user) == 1) {
0 commit comments