Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-24299' of git://git.luns.net.uk/moodle

  • Loading branch information...
commit 1861a2875a7d1502a24d5aea36b6f22dc1d454ba 2 parents 34e54bb + 936a0ae
@samhemelryk samhemelryk authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  admin/roles/assign.php
View
3  admin/roles/assign.php
@@ -232,7 +232,8 @@
$select = new single_select($PAGE->url, 'roleid', $nameswithcounts, $roleid, null);
$select->label = get_string('assignanotherrole', 'role');
echo $OUTPUT->render($select);
- echo '<p><a href="' . $PAGE->url . '">' . get_string('backtoallroles', 'role') . '</a></p>';
+ $backurl = new moodle_url('/admin/roles/assign.php', array('contextid' => $contextid));
+ echo '<p><a href="' . $backurl->out() . '">' . get_string('backtoallroles', 'role') . '</a></p>';
echo '</div>';
} else if (empty($assignableroles)) {
Please sign in to comment.
Something went wrong with that request. Please try again.