[fusion-commits] r2600 - trunk/common/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon Sep 17 21:39:07 PDT 2012


Author: jng
Date: 2012-09-17 21:39:07 -0700 (Mon, 17 Sep 2012)
New Revision: 2600

Modified:
   trunk/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: trunk/common/php/Xml2JSON.php
===================================================================
--- trunk/common/php/Xml2JSON.php	2012-09-18 04:36:53 UTC (rev 2599)
+++ trunk/common/php/Xml2JSON.php	2012-09-18 04:39:07 UTC (rev 2600)
@@ -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