[fusion-commits] r1425 - trunk/MapServer/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Jun 25 17:09:33 EDT 2008


Author: madair
Date: 2008-06-25 17:09:33 -0400 (Wed, 25 Jun 2008)
New Revision: 1425

Modified:
   trunk/MapServer/php/LoadMap.php
Log:
check extent

Modified: trunk/MapServer/php/LoadMap.php
===================================================================
--- trunk/MapServer/php/LoadMap.php	2008-06-25 21:08:01 UTC (rev 1424)
+++ trunk/MapServer/php/LoadMap.php	2008-06-25 21:09:33 UTC (rev 1425)
@@ -163,7 +163,7 @@
         $layerObj->extent->maxy = NULL;
 
          // only proceed if extent is valid
-        if( $extent )
+        if( isset($GLOBALS["extent"]) )
         {
             $layerObj->extent->minx = $extent->minx;
             $layerObj->extent->maxx = $extent->maxx;



More information about the fusion-commits mailing list