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

index 6779d80..0cb5302 100644 (file)
@@ -2065,7 +2065,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');