[Mapbender-commits] r4636 - branches/2.6/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Sep 15 13:16:07 EDT 2009


Author: christoph
Date: 2009-09-15 13:16:07 -0400 (Tue, 15 Sep 2009)
New Revision: 4636

Modified:
   branches/2.6/http/classes/class_wms.php
Log:
duplicate key Error beim Einlesen eines WMS

Modified: branches/2.6/http/classes/class_wms.php
===================================================================
--- branches/2.6/http/classes/class_wms.php	2009-09-15 16:51:14 UTC (rev 4635)
+++ branches/2.6/http/classes/class_wms.php	2009-09-15 17:16:07 UTC (rev 4636)
@@ -624,7 +624,7 @@
 				
 				if(mb_strtoupper($element[tag]) == "SRS"){
 					// unique srs only, see http://www.mapbender.org/index.php/Arrays_with_unique_entries
-					$this->wms_srs = array_keys(array_flip(array_merge($this->wms_srs, explode(" ", $element[value]))));  				
+					$this->wms_srs = array_keys(array_flip(array_merge($this->wms_srs, explode(" ", strtoupper($element[value])))));  				
 				}						      
 				if(mb_strtoupper($element[tag]) == "LATLONBOUNDINGBOX"){
 					$cnt_epsg++;



More information about the Mapbender_commits mailing list