We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 576fbef + 457ce88 commit 00856ceCopy full SHA for 00856ce
DigitalLearningSolutions.Data/DataServices/UserDataService/AdminUserDataService.cs
@@ -279,7 +279,10 @@ bool isCentreManager
279
IsContentCreator = @isContentCreator,
280
IsContentManager = @isContentManager,
281
ImportOnly = @importOnly,
282
- CategoryID = @categoryId,
+ CategoryID = CASE
283
+ WHEN @categoryID = 0 THEN NULL
284
+ ELSE @categoryID
285
+ END,
286
IsCentreManager = @isCentreManager
287
WHERE ID = @adminId",
288
new
0 commit comments