From d83a9c606b9974534866642b5edeb51d2caf2394 Mon Sep 17 00:00:00 2001 From: Bob Trahan Date: Thu, 21 Aug 2014 16:07:14 -0700 Subject: [PATCH] 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 --- .../settings/panel/PhabricatorSettingsPanelEmailAddresses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php b/src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php index d5966f8eaa..38a9cf7b07 100644 --- a/src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php +++ b/src/applications/settings/panel/PhabricatorSettingsPanelEmailAddresses.php @@ -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.'); } }