Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

backup - fixed typo to correctly backup contentformat setting

  • Loading branch information...
commit 4b76ec61c07401bfa784cf1e62c622cad6cb1ce6 1 parent 33b8e0f
@mylescarrick mylescarrick authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  backup/moodle2/backup_book_stepslib.php
View
2  backup/moodle2/backup_book_stepslib.php
@@ -35,7 +35,7 @@ protected function define_structure() {
// Define each element separated
$book = new backup_nested_element('book', array('id'), array('name', 'intro', 'introformat', 'numbering', 'customtitles', 'timecreated', 'timemodified'));
$chapters = new backup_nested_element('chapters');
- $chapter = new backup_nested_element('chapter', array('id'), array('pagenum', 'subchapter', 'title', 'content', 'contentormat', 'hidden', 'timemcreated', 'timemodified', 'importsrc',));
+ $chapter = new backup_nested_element('chapter', array('id'), array('pagenum', 'subchapter', 'title', 'content', 'contentformat', 'hidden', 'timemcreated', 'timemodified', 'importsrc',));
$book->add_child($chapters);
$chapters->add_child($chapter);
Please sign in to comment.
Something went wrong with that request. Please try again.