From ca5c2e1d3c7f01f05eef8b33ec277ada3229ed70 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 5 Jul 2003 22:44:29 +0000 Subject: [PATCH] Now xmlize is invoked with XML_OPTION_SKIP_WHITE = 0 to avoid \n skipping. --- backup/restorelib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup/restorelib.php b/backup/restorelib.php index 3e52896fe88f2..8786c64ed7ef6 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -1417,7 +1417,7 @@ function endElementQuestions($parser, $tagName) { $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 @@ function endElementModules($parser, $tagName) { $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