MDL-40721 wiki: missing page->set_url() when restoring wiki
This commit is contained in:
@@ -2149,6 +2149,10 @@ class page_wiki_confirmrestore extends page_wiki_save {
|
||||
$PAGE->set_url($CFG->wwwroot . '/mod/wiki/viewversion.php', array('pageid' => $this->page->id, 'versionid' => $this->version->id));
|
||||
}
|
||||
|
||||
function print_header() {
|
||||
$this->set_url();
|
||||
}
|
||||
|
||||
function print_content() {
|
||||
global $CFG, $PAGE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user