Commit 49a9e1f8 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
(cherry picked from commit 5ccfbdd3)
(cherry picked from commit c1b343d4)
parent e42528ea
......@@ -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);
Supports Markdown
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