[fusion-commits] r2823 - sandbox/robust_error_handling/layers/MapGuide/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Nov 28 04:00:01 PST 2013


Author: jng
Date: 2013-11-28 04:00:01 -0800 (Thu, 28 Nov 2013)
New Revision: 2823

Modified:
   sandbox/robust_error_handling/layers/MapGuide/php/CreateSession.php
Log:
PHP 5.5 compatibility fix. Caught by our brand new robust error handling.

Modified: sandbox/robust_error_handling/layers/MapGuide/php/CreateSession.php
===================================================================
--- sandbox/robust_error_handling/layers/MapGuide/php/CreateSession.php	2013-11-28 11:57:21 UTC (rev 2822)
+++ sandbox/robust_error_handling/layers/MapGuide/php/CreateSession.php	2013-11-28 12:00:01 UTC (rev 2823)
@@ -45,7 +45,7 @@
 
     header('Content-type: application/json');
     header('X-JSON: true');
-    $result = null;
+    $result = new stdClass();
     $result->sessionId = $sessionId;
     $result->userName = $username;
     $result->siteVersion = GetSiteVersion();



More information about the fusion-commits mailing list