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: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent db663e1d
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment