From: stronk7 Date: Sat, 5 Jul 2003 22:44:29 +0000 (+0000) Subject: Now xmlize is invoked with XML_OPTION_SKIP_WHITE = 0 to X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ca5c2e1d3c7f01f05eef8b33ec277ada3229ed70;p=moodle.git Now xmlize is invoked with XML_OPTION_SKIP_WHITE = 0 to avoid \n skipping. --- diff --git a/backup/restorelib.php b/backup/restorelib.php index 3e52896fe8..8786c64ed7 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -1417,7 +1417,7 @@ $xml_data = "\n".$this->temp; //Call to xmlize for this portion of xml data (one MOD) //echo "-XMLIZE: ".strftime ("%X",time()),"-"; //Debug - $data = xmlize($xml_data); + $data = xmlize($xml_data,0); //echo strftime ("%X",time())."

"; //Debug //traverse_xmlize($data); //Debug //print_object ($GLOBALS['traverse_array']); //Debug @@ -1464,7 +1464,7 @@ $xml_data = "\n".$this->temp; //Call to xmlize for this portion of xml data (one MOD) echo "-XMLIZE: ".strftime ("%X",time()),"-"; //Debug - $data = xmlize($xml_data); + $data = xmlize($xml_data,0); echo strftime ("%X",time())."

"; //Debug //traverse_xmlize($data); //Debug //print_object ($GLOBALS['traverse_array']); //Debug