mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Emails - fix duplicate email error
Summary: $email => $e_email. Fixes T5933. Test Plan: Added an email that was already on another account and got the proper "Duplicate" UI with the duplicate email address still entered Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T5933 Differential Revision: https://secure.phabricator.com/D10334
This commit is contained in:
parent
4a566f9e5d
commit
d83a9c606b
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ final class PhabricatorSettingsPanelEmailAddresses
|
||||||
|
|
||||||
return id(new AphrontDialogResponse())->setDialog($dialog);
|
return id(new AphrontDialogResponse())->setDialog($dialog);
|
||||||
} catch (AphrontDuplicateKeyQueryException $ex) {
|
} catch (AphrontDuplicateKeyQueryException $ex) {
|
||||||
$email = pht('Duplicate');
|
$e_email = pht('Duplicate');
|
||||||
$errors[] = pht('Another user already has this email.');
|
$errors[] = pht('Another user already has this email.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue