Commit 5ccfbdd3 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Robert Lyon
Browse files

Bug 1755331: make the pieform for copying group views available

when using pagination

Change-Id: Ia1c55442a66ff4581543db42615dcd5a3ee411bb
parent 9c274f10
......@@ -32,6 +32,12 @@ if (!is_logged_in() && !$group->public) {
throw new AccessDeniedException();
if ($usetemplate = param_integer('usetemplate', null)) {
// If a form has been submitted, build it now and pieforms will
// call the submit function straight away
pieform(create_view_form(null, null, $usetemplate));
define('TITLE', $group->name);
define('SUBSECTIONHEADING', get_string('about'));
$group->role = group_user_access($group->id);
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