MDL-9534, fix xmlize() call

This commit is contained in:
dongsheng 2008-04-11 03:59:41 +00:00
parent 04dc764091
commit 143c1eb921
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@
*
* @author Hans Anderson
* @param array $data The array to be converted
* @param int $WHITE If set to 1 allows the parser to skip "space" characters in xml document. Default is 0
* @param int $WHITE If set to 1 allows the parser to skip "space" characters in xml document. Default is 1
* @param string $encoding Specify an OUTPUT encoding. If not specified, it defaults to UTF-8.
* @return array
*/

View File

@ -1889,7 +1889,7 @@ class PresetImporter {
/* Grab XML */
$presetxml = file_get_contents($this->folder.'/preset.xml');
$parsedxml = xmlize($presetxml);
$parsedxml = xmlize($presetxml, 0);
/* First, do settings. Put in user friendly array. */
$settingsarray = $parsedxml['preset']['#']['settings'][0]['#'];