mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
Merge branch 'MDL-47569_CC_Errors' of git://github.com/moodlerooms/moodle
This commit is contained in:
commit
89da9fa67b
@ -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 {
|
||||
|
@ -1292,7 +1292,9 @@ class moodle1_question_bank_handler extends moodle1_xml_handler {
|
||||
* Closes the questions wrapper
|
||||
*/
|
||||
public function on_questions_end() {
|
||||
$this->xmlwriter->end_tag('questions');
|
||||
if ($this->questionswrapperwritten) {
|
||||
$this->xmlwriter->end_tag('questions');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user