Skip to content

Commit

Permalink
Merge branch 'MDL-69493-39' of https://github.com/paulholden/moodle i…
Browse files Browse the repository at this point in the history
…nto MOODLE_39_STABLE
  • Loading branch information
stronk7 committed Aug 22, 2020
2 parents e290345 + a88c706 commit 8b25444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cohort/index.php
Expand Up @@ -154,7 +154,7 @@
$cohortmanager = has_capability('moodle/cohort:manage', $cohortcontext);
$cohortcanassign = has_capability('moodle/cohort:assign', $cohortcontext);

$urlparams = array('id' => $cohort->id, 'returnurl' => $baseurl->out_as_local_url());
$urlparams = array('id' => $cohort->id, 'returnurl' => $baseurl->out_as_local_url(false));
$showhideurl = new moodle_url('/cohort/edit.php', $urlparams + array('sesskey' => sesskey()));
if ($cohortmanager) {
if ($cohort->visible) {
Expand Down

0 comments on commit 8b25444

Please sign in to comment.