[fusion-commits] r2436 - trunk/layers/MapGuide/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Oct 5 10:22:32 EDT 2011


Author: jng
Date: 2011-10-05 07:22:32 -0700 (Wed, 05 Oct 2011)
New Revision: 2436

Modified:
   trunk/layers/MapGuide/php/Utilities.php
Log:
Small mental note

Modified: trunk/layers/MapGuide/php/Utilities.php
===================================================================
--- trunk/layers/MapGuide/php/Utilities.php	2011-10-04 15:38:57 UTC (rev 2435)
+++ trunk/layers/MapGuide/php/Utilities.php	2011-10-05 14:22:32 UTC (rev 2436)
@@ -776,6 +776,8 @@
     array_push($properties->$layerName->metadatanames, 'area');
     array_push($properties->$layerName->metadatanames, 'length');
 
+    //NOTE: PHP will complain about _SESSION being undefined when display_errors = On with full verbosity
+    //messing up any JSON response in the process!
     $mappings = $_SESSION['property_mappings'][$layerObj->GetObjectId()];
     foreach((array)$mappings as $name => $value)
     {



More information about the fusion-commits mailing list