mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
NOBUG backup - delete whitespace typo causing problems in section settings
This commit is contained in:
parent
2e23ad80c4
commit
d12fd69be0
@ -1076,7 +1076,7 @@ class backup_main_structure_step extends backup_structure_step {
|
|||||||
$settings = new backup_nested_element('settings');
|
$settings = new backup_nested_element('settings');
|
||||||
|
|
||||||
$setting = new backup_nested_element('setting', null, array(
|
$setting = new backup_nested_element('setting', null, array(
|
||||||
'level', 'activity', 'name', 'value'));
|
'level', 'section', 'activity', 'name', 'value'));
|
||||||
|
|
||||||
// Build the tree
|
// Build the tree
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@ abstract class backup_controller_dbops extends backup_dbops {
|
|||||||
}
|
}
|
||||||
$settinginfo = array(
|
$settinginfo = array(
|
||||||
'level' => 'section',
|
'level' => 'section',
|
||||||
'section ' => $prefix,
|
'section' => $prefix,
|
||||||
'name' => $setting->get_name(),
|
'name' => $setting->get_name(),
|
||||||
'value' => $setting->get_value());
|
'value' => $setting->get_value());
|
||||||
$settingsinfo[$setting->get_name()] = (object)$settinginfo;
|
$settingsinfo[$setting->get_name()] = (object)$settinginfo;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user