Skip to content

Commit a73f76a

Browse files
committed
Applies BR DLSFW1 to standard insert competency group functionality
1 parent 65932d9 commit a73f76a

File tree

1 file changed

+1
-1
lines changed
  • DigitalLearningSolutions.Web/Controllers/FrameworksController

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Controllers/FrameworksController/Competencies.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public IActionResult AddEditFrameworkCompetencyGroup(int frameworkId, Competency
7171
(competencyGroupBase.Description), adminId);
7272
return new RedirectResult(Url.Action("ViewFramework", new { tabname = "Structure", frameworkId }) + "#fcgroup-" + frameworkCompetencyGroupId.ToString());
7373
}
74-
var newCompetencyGroupId = frameworkService.InsertCompetencyGroup(competencyGroupBase.Name, SanitizerHelper.SanitizeHtmlData(competencyGroupBase.Description), adminId);
74+
var newCompetencyGroupId = frameworkService.InsertCompetencyGroup(competencyGroupBase.Name, SanitizerHelper.SanitizeHtmlData(competencyGroupBase.Description), adminId, frameworkId);
7575
if (newCompetencyGroupId > 0)
7676
{
7777
var newFrameworkCompetencyGroupId = frameworkService.InsertFrameworkCompetencyGroup(newCompetencyGroupId, frameworkId, adminId);

0 commit comments

Comments
 (0)