Permalink
Browse files

MDL-38766 wiki2.0: fix redirects

Signed-off-by: Paul Campbell <pcampbell@carnegiecollege.ac.uk>
  • Loading branch information...
Paul Campbell
Paul Campbell committed Apr 5, 2013
1 parent fe33d24 commit 3519df76315ea0321f68d78c9b202b8fae7178dd
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/wiki/pagelib.php
View
@@ -2066,7 +2066,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 3519df7

Please sign in to comment.