1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00: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:
Bob Trahan 2014-08-21 16:07:14 -07:00
parent 4a566f9e5d
commit d83a9c606b

View file

@ -211,7 +211,7 @@ final class PhabricatorSettingsPanelEmailAddresses
return id(new AphrontDialogResponse())->setDialog($dialog);
} catch (AphrontDuplicateKeyQueryException $ex) {
$email = pht('Duplicate');
$e_email = pht('Duplicate');
$errors[] = pht('Another user already has this email.');
}
}