Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'MDL-55993-34' of https://github.com/albertolarah/moodle
…into MOODLE_34_STABLE
  • Loading branch information
David Monllao committed Sep 4, 2018
2 parents 9299625 + a5ca748 commit 2df693e
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 2df693e

Please sign in to comment.