Merge branch 'MDL-55993-34' of https://github.com/albertolarah/moodle into MOODLE_34_STABLE
This commit is contained in:
@@ -275,7 +275,10 @@ class assign {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user