Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-38766 wiki2.0: fix redirects

Signed-off-by: Paul Campbell <pcampbell@carnegiecollege.ac.uk>
  • Loading branch information...
commit 4f6c447be10f436865435862017d66b5a8ff2195 1 parent d8201d4
Paul Campbell kemitix authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/wiki/pagelib.php
2  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');
Please sign in to comment.
Something went wrong with that request. Please try again.