[mapguide-commits] r8311 - branches/2.6/MgDev/Web/src/schemareport

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Jul 29 14:51:33 PDT 2014


Author: jng
Date: 2014-07-29 14:51:33 -0700 (Tue, 29 Jul 2014)
New Revision: 8311

Modified:
   branches/2.6/MgDev/Web/src/schemareport/displayschemafunctions.php
Log:
This file slipped under our PHP 5.5 deprecation cleanup list. Let's fix that.

Modified: branches/2.6/MgDev/Web/src/schemareport/displayschemafunctions.php
===================================================================
--- branches/2.6/MgDev/Web/src/schemareport/displayschemafunctions.php	2014-07-29 21:51:17 UTC (rev 8310)
+++ branches/2.6/MgDev/Web/src/schemareport/displayschemafunctions.php	2014-07-29 21:51:33 UTC (rev 8311)
@@ -126,7 +126,8 @@
     $gotCount = false;
     $fsBr = $resourceSrvc->GetResourceContent($featuresId);
     $fsXml = $fsBr->ToString();
-    $fsDoc = DOMDocument::loadXML($fsXml);
+    $fsDoc = new DOMDocument();
+    $fsDoc->loadXML($fsXml);
     $providerNodeList = $fsDoc->getElementsByTagName("Provider");
     $providerName = $providerNodeList->item(0)->nodeValue;
     $capsBr = $featureSrvc->GetCapabilities($providerName);



More information about the mapguide-commits mailing list