Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1cbaf80
)
Merge branch 'MDL-33480' of git://github.com/stronk7/moodle
author
Dan Poltawski
<dan@moodle.com>
Mon, 4 Jun 2012 08:59:49 +0000
(16:59 +0800)
committer
Dan Poltawski
<dan@moodle.com>
Mon, 4 Jun 2012 08:59:49 +0000
(16:59 +0800)
mod/book/tool/print/index.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/book/tool/print/index.php
b/mod/book/tool/print/index.php
index
5205435
..
334bd31
100644
(file)
--- a/
mod/book/tool/print/index.php
+++ b/
mod/book/tool/print/index.php
@@
-114,6
+114,7
@@
if ($chapter) {
} else {
add_to_log($course->id, 'book', 'print', 'tool/print/index.php?id='.$cm->id, $book->id, $cm->id);
$allchapters = $DB->get_records('book_chapters', array('bookid'=>$book->id), 'pagenum');
+ $book->intro = file_rewrite_pluginfile_urls($book->intro, 'pluginfile.php', $context->id, 'mod_book', 'intro', null);
// page header
?>