mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 03:45:49 +01:00
MDL-22114 forum: fixed PAGE url param set
I am pretty sure Sam overlooked this is in the commit afef965e
This commit is contained in:
parent
95d28f044e
commit
99eb51d9e4
@ -32,7 +32,7 @@ $user = optional_param('user',0,PARAM_INT);
|
||||
|
||||
$url = new moodle_url('/mod/forum/subscribe.php', array('id'=>$id));
|
||||
if ($mode !== '') {
|
||||
$url->param('force', $mode);
|
||||
$url->param('mode', $mode);
|
||||
}
|
||||
if ($user !== 0) {
|
||||
$url->param('user', $user);
|
||||
|
Loading…
x
Reference in New Issue
Block a user