Permalink
Browse files

MDL-38766 wiki2.0: fix redirects

Signed-off-by: Paul Campbell <pcampbell@carnegiecollege.ac.uk>
  • Loading branch information...
1 parent d8201d4 commit 4f6c447be10f436865435862017d66b5a8ff2195 Paul Campbell committed Apr 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/pagelib.php
View
@@ -2056,7 +2056,7 @@ protected function print_save() {
//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');

0 comments on commit 4f6c447

Please sign in to comment.