[fusion-commits] r2598 - sandbox/ol212/common/php

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


Author: jng
Date: 2012-09-17 21:35:54 -0700 (Mon, 17 Sep 2012)
New Revision: 2598

Modified:
   sandbox/ol212/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: sandbox/ol212/common/php/Xml2JSON.php
===================================================================
--- sandbox/ol212/common/php/Xml2JSON.php	2012-09-17 08:55:09 UTC (rev 2597)
+++ sandbox/ol212/common/php/Xml2JSON.php	2012-09-18 04:35:54 UTC (rev 2598)
@@ -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