From 95dc1e42d5743e406a13dc08d22dd7c86e0a3014 Mon Sep 17 00:00:00 2001 From: Mark Nielsen Date: Tue, 7 Oct 2014 11:47:40 -0700 Subject: [PATCH] MDL-47569 backup: Escape section summary for XML This was causing the parsing of the XML to fail because things like & were not escaped. --- backup/cc/cc2moodle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/cc/cc2moodle.php b/backup/cc/cc2moodle.php index 332a9562185..0728daca872 100644 --- a/backup/cc/cc2moodle.php +++ b/backup/cc/cc2moodle.php @@ -338,7 +338,7 @@ class cc2moodle { $replace_values = array($i, $i - 1, - $topic['title'], + entities::safexml($topic['title']), $node_node_course_sections_section_mods_mod); } else {