mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-55993-master' of https://github.com/albertolarah/moodle
This commit is contained in:
commit
adb8eb9c9c
@ -274,7 +274,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user