Commit b4e9bc3d authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1791544: Adding MENUITEM to view/view.php page



So that sideblocks don't throw error

behatnotneeded

Change-Id: I2892e7bd65e3a031154b74c2cba47ef570e80b5d
Signed-off-by: default avatarRobert Lyon <robertl@catalyst.net.nz>
parent db663e1d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -103,7 +103,8 @@ if (!can_view_view($view)) {
    $errorstr = (param_integer('objection', null)) ? get_string('accessdeniedobjection', 'error') : get_string('accessdenied', 'error');
    throw new AccessDeniedException($errorstr);
}

$institution = $view->get('institution');
View::set_nav($groupid, $institution);
// Comment list pagination requires limit/offset params
$limit       = param_integer('limit', 10);
$offset      = param_integer('offset', 0);