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(); }