Skip to content

Commit eedeeb6

Browse files
authored
Merge pull request #1633 from TechnologyEnhancedLearning/Report_Deployment_Script
bugfix for failing report update
2 parents fb05018 + 850958c commit eedeeb6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

LearningHub.Nhs.WebUI/Controllers/ReportsController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ public async Task<IActionResult> CreateReportCourseSelection(ReportCreationCours
171171
}
172172

173173
this.ModelState.AddModelError("Courses", CommonValidationErrorMessages.CourseRequired);
174-
reportCreation.Courses = null;
175-
await this.multiPageFormService.SetMultiPageFormData(reportCreation, MultiPageFormDataFeature.AddCustomWebForm("ReportWizardCWF"), this.TempData);
174+
176175
courseSelection.BuildCourses(await this.GetCoursesAsync());
177176
courseSelection.Courses = reportCreation.Courses;
178177
this.ViewBag.ReturnUrl = returnUrl;

0 commit comments

Comments
 (0)