Skip to content

Commit 28a8be0

Browse files
manishagarwalnhskevwhitt-hee
authored andcommitted
TD-2281 Fixed 500 error while updating centre email of inactive learner by removing active flag criteria in getting email list
1 parent d8176d7 commit 28a8be0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Controllers/MyAccountController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ DlsSubApplication dlsSubApplication
474474
: new List<EditDelegateRegistrationPromptViewModel>();
475475

476476
var allCentreSpecificEmails = centreId == null
477-
? userService.GetAllActiveCentreEmailsForUser(userId).Select(
477+
? userService.GetAllActiveCentreEmailsForUser(userId,true).Select(
478478
row =>
479479
{
480480
string? email = null;

0 commit comments

Comments
 (0)