Merge branch 'MDL-35032-24' of git://github.com/FMCorz/moodle into MOODLE_24_STABLE

This commit is contained in:
Sam Hemelryk
2013-12-23 15:57:25 +13:00
+3 -3
View File
@@ -121,12 +121,12 @@ class moodle1_mod_book_handler extends moodle1_mod_handler {
* @param array $data
*/
public function process_book_chapters($data) {
$this->write_xml('chapter', $data, array('/chapter/id'));
// convert chapter files
// Convert chapter files.
$this->fileman->filearea = 'chapter';
$this->fileman->itemid = $data['id'];
$data['content'] = moodle1_converter::migrate_referenced_files($data['content'], $this->fileman);
$this->write_xml('chapter', $data, array('/chapter/id'));
}
/**