Browse files

"MDL-25406 WIKI, use swid instead of wid, gid, uid"

  • Loading branch information...
1 parent 33ea845 commit d2d1db7a84ba5c5fb0c15133ccbcfcc7dfd26042 @dcai dcai committed Nov 29, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/view.php
View
2 mod/wiki/view.php
@@ -98,7 +98,7 @@
// Getting first page. If it does not exists, redirecting to create page
if (!$page = wiki_get_first_page($subwiki->id, $wiki)) {
- $params = array('wid'=>$wiki->id, 'uid'=>$userid ,'gid'=>$currentgroup, 'title'=>$wiki->firstpagetitle);
+ $params = array('swid'=>$subwiki->id, 'title'=>$wiki->firstpagetitle);
$url = new moodle_url('/mod/wiki/create.php', $params);
redirect($url);
}

0 comments on commit d2d1db7

Please sign in to comment.