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:
David Mudrak 2010-12-07 12:33:24 +00:00
parent 95d28f044e
commit 99eb51d9e4

View File

@ -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);