Permalink
Browse files

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

  • Loading branch information...
2 parents 34e54bb + 936a0ae commit 1861a2875a7d1502a24d5aea36b6f22dc1d454ba Sam Hemelryk committed Jan 10, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 admin/roles/assign.php
View
@@ -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)) {

0 comments on commit 1861a28

Please sign in to comment.