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.
1 parent d709470 commit 3f0ed28Copy full SHA for 3f0ed28
DigitalLearningSolutions.Web/Controllers/FrameworksController/Review.cs
@@ -63,6 +63,7 @@ public IActionResult LoadReview(int frameworkId, int reviewId)
63
{
64
var adminId = GetAdminId();
65
var framework = frameworkService.GetBaseFrameworkByFrameworkId(frameworkId, adminId);
66
+ if (framework.FrameworkReviewID == 0 || framework.FrameworkReviewID == null) return RedirectToAction("StatusCode", "LearningSolutions", new { code = 410 });
67
if (framework == null) return StatusCode(404);
68
if (framework.UserRole < 1) return StatusCode(403);
69
var frameworkName = framework.FrameworkName;
0 commit comments