[Mapbender-commits] r7506 - branches/2.7/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 31 16:27:33 EST 2011


Author: astrid_emde
Date: 2011-01-31 13:27:33 -0800 (Mon, 31 Jan 2011)
New Revision: 7506

Modified:
   branches/2.7/http/classes/class_wms.php
Log:
do not transform empty EPSG http://trac.osgeo.org/mapbender/ticket/768

Modified: branches/2.7/http/classes/class_wms.php
===================================================================
--- branches/2.7/http/classes/class_wms.php	2011-01-31 21:13:15 UTC (rev 7505)
+++ branches/2.7/http/classes/class_wms.php	2011-01-31 21:27:33 UTC (rev 7506)
@@ -1957,7 +1957,7 @@
 		$supportedSrs = $this->getSupportedSRS($this->objLayer[$i]->db_id, $confSrsArray);
 		
 		for($k=0; $k < count($supportedSrs);$k++) {
-			if(!in_array($supportedSrs[$k],$epsg)) {
+			if(!in_array($supportedSrs[$k],$epsg) && $supportedSrs[$k] != '') {
 				$n = new mb_notice("Calculation for: ".$supportedSrs[$k]);
 				$pointMin = new Mapbender_point($minx[0], $miny[0], $epsg[0]);
 				$pointMax = new Mapbender_point($maxx[0], $maxy[0], $epsg[0]);



More information about the Mapbender_commits mailing list