From 4434566ca7148ee60b0c711d25537a463d858ac4 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 7 Mar 2017 20:15:29 +0000 Subject: [PATCH] fix the XML format --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 3702661..a90a956 100644 --- a/functions.php +++ b/functions.php @@ -383,7 +383,7 @@ function export_offer () $domtree->createElement('offer_date',$export_rows->date)); // format the dom document - $offer_export->formatOutput = true; + $domtree->formatOutput = true; // print out the generate dom document echo $domtree->saveXML(); }