Permalink
Browse files

backup - fixed typo to correctly backup contentformat setting

  • Loading branch information...
1 parent 33b8e0f commit 4b76ec61c07401bfa784cf1e62c622cad6cb1ce6 @mylescarrick mylescarrick committed May 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 4b76ec6

Please sign in to comment.