Permalink
Browse files

MDL-38089 mod_wiki: Fix incorrect links

  • Loading branch information...
1 parent 7b9df23 commit 1b08751cfa6304066ac492955c72c1e67143bb9a @dmonllao dmonllao committed Apr 12, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/wiki/pagelib.php
View
@@ -1110,7 +1110,7 @@ protected function create_navbar() {
global $PAGE, $CFG;
parent::create_navbar();
- $PAGE->navbar->add(get_string('history', 'wiki'), $CFG->wwwroot . '/mod/wiki/history.php?pageid' . $this->page->id);
+ $PAGE->navbar->add(get_string('history', 'wiki'), $CFG->wwwroot . '/mod/wiki/history.php?pageid=' . $this->page->id);
$PAGE->navbar->add(get_string('diff', 'wiki'));
}
@@ -2107,7 +2107,7 @@ protected function create_navbar() {
global $PAGE, $CFG;
parent::create_navbar();
- $PAGE->navbar->add(get_string('history', 'wiki'), $CFG->wwwroot . '/mod/wiki/history.php?pageid' . $this->page->id);
+ $PAGE->navbar->add(get_string('history', 'wiki'), $CFG->wwwroot . '/mod/wiki/history.php?pageid=' . $this->page->id);
$PAGE->navbar->add(get_string('versionnum', 'wiki', $this->version->version));
}

0 comments on commit 1b08751

Please sign in to comment.