MDL-22114 forum: fixed PAGE url param set
authorDavid Mudrak <david.mudrak@gmail.com>
Tue, 7 Dec 2010 12:33:24 +0000 (12:33 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Tue, 7 Dec 2010 12:33:24 +0000 (12:33 +0000)
I am pretty sure Sam overlooked this is in the commit afef965e

mod/forum/subscribe.php

index 4a64f6e..9d3fbb3 100644 (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);