[fusion-commits] r2599 - branches/fusion-mg24/common/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon Sep 17 21:36:54 PDT 2012


Author: jng
Date: 2012-09-17 21:36:53 -0700 (Mon, 17 Sep 2012)
New Revision: 2599

Modified:
   branches/fusion-mg24/common/php/Xml2JSON.php
Log:
#543: Remove semi-colon in Xml2JSON.php output. Appending a semi-colon for eval() (should the code path ever get there) is not necessary.

Modified: branches/fusion-mg24/common/php/Xml2JSON.php
===================================================================
--- branches/fusion-mg24/common/php/Xml2JSON.php	2012-09-18 04:35:54 UTC (rev 2598)
+++ branches/fusion-mg24/common/php/Xml2JSON.php	2012-09-18 04:36:53 UTC (rev 2599)
@@ -67,5 +67,5 @@
     die ('/* invalid xml document:'.$xml.' */');
 }
 $root = $document->documentElement;
-echo '{"' . $root->tagName . '":' . xml2json($root) . '};';
+echo '{"' . $root->tagName . '":' . xml2json($root) . '}';
 ?>
\ No newline at end of file



More information about the fusion-commits mailing list