Merge branch 'MDL-38766/master' of github.com:kemitix/moodle
authorDan Poltawski <dan@moodle.com>
Tue, 9 Apr 2013 02:37:23 +0000 (10:37 +0800)
committerDan Poltawski <dan@moodle.com>
Tue, 9 Apr 2013 02:37:23 +0000 (10:37 +0800)
mod/wiki/pagelib.php

index de55f1c..3398e2d 100644 (file)
@@ -2056,7 +2056,7 @@ class page_wiki_save extends page_wiki_edit {
 
             //deleting old locks
             wiki_delete_locks($this->page->id, $USER->id, $this->section);
-            $url = new moodle_url('view.php', array('pageid' => $this->page->id, 'group' => $this->subwiki->groupid));
+            $url = new moodle_url('/mod/wiki/view.php', array('pageid' => $this->page->id, 'group' => $this->subwiki->groupid));
             redirect($url);
         } else {
             print_error('savingerror', 'wiki');