Commit 4acfe8f7 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1703680: join group pagination error"

parents 9635660f aa9ab0ca
......@@ -699,7 +699,7 @@ function group_update($new, $create=false) {
null, '', 'id');
$access = ($old->editroles == 'all' || $old->editroles == 'notmember');
db_begin();
foreach ($ids as $i => $artefact) {log_debug($artefact->id);
foreach ($ids as $i => $artefact) {
insert_record('artefact_access_role', (object) array(
'artefact' => $artefact->id,
'role' => 'tutor',
......@@ -1226,7 +1226,8 @@ function group_get_join_form($name, $groupid, $returnto='view') {
),
'group' => array(
'type' => 'hidden',
'value' => $groupid
'value' => $groupid,
'sesskey' => true,
),
'returnto' => array(
'type' => 'hidden',
......
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