Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-35519_book_cancel_23' of git://github.com/andyjdavi…

…s/moodle into MOODLE_23_STABLE
  • Loading branch information...
commit 7516f96676860e48fbf5c2233109ce704ab8e829 2 parents 2ed3436 + 113f51d
@stronk7 stronk7 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/book/tool/importhtml/index.php
View
4 mod/book/tool/importhtml/index.php
@@ -60,9 +60,9 @@
// If data submitted, then process and store.
if ($mform->is_cancelled()) {
if (empty($chapter->id)) {
- redirect("/mod/book/view.php?id=$cm->id");
+ redirect($CFG->wwwroot."/mod/book/view.php?id=$cm->id");
} else {
- redirect("/mod/book/view.php?id=$cm->id&chapterid=$chapter->id");
+ redirect($CFG->wwwroot."/mod/book/view.php?id=$cm->id&chapterid=$chapter->id");
}
} else if ($data = $mform->get_data()) {
Please sign in to comment.
Something went wrong with that request. Please try again.