Permalink
Browse files

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

…s/moodle into MOODLE_23_STABLE
  • Loading branch information...
2 parents 2ed3436 + 113f51d commit 7516f96676860e48fbf5c2233109ce704ab8e829 @stronk7 stronk7 committed Oct 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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()) {

0 comments on commit 7516f96

Please sign in to comment.