Skip to content

Commit

Permalink
Merge branch 'MDL-55993-35' of https://github.com/albertolarah/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_35_STABLE
  • Loading branch information
David Monllao committed Sep 4, 2018
2 parents fde541a + 4c51211 commit e7dc32a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mod/assign/locallib.php
Expand Up @@ -275,7 +275,10 @@ public function show_intro() {
public function get_return_params() {
global $PAGE;

$params = $PAGE->url->params();
$params = array();
if (!WS_SERVER) {
$params = $PAGE->url->params();
}
unset($params['id']);
unset($params['action']);
return $params;
Expand Down

0 comments on commit e7dc32a

Please sign in to comment.