[Mapbender-commits] r3244 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Nov 19 03:57:14 EST 2008


Author: christoph
Date: 2008-11-19 03:57:14 -0500 (Wed, 19 Nov 2008)
New Revision: 3244

Modified:
   trunk/mapbender/http/classes/class_wms.php
Log:
http://trac.osgeo.org/mapbender/ticket/325

Modified: trunk/mapbender/http/classes/class_wms.php
===================================================================
--- trunk/mapbender/http/classes/class_wms.php	2008-11-19 08:56:13 UTC (rev 3243)
+++ trunk/mapbender/http/classes/class_wms.php	2008-11-19 08:57:14 UTC (rev 3244)
@@ -530,7 +530,7 @@
 			}
 			if($section == "style"){
 				if(mb_strtoupper($element[tag]) == "NAME"){
-					$this->objLayer[$cnt_layer]->layer_style[$cnt_styles]["name"] = ($element[value] ? $element[value] : '');
+					$this->objLayer[$cnt_layer]->layer_style[$cnt_styles]["name"] = ($element[value] ? $element[value] : 'default');
 				}
 				if(mb_strtoupper($element[tag]) == "TITLE"){
 					$this->objLayer[$cnt_layer]->layer_style[$cnt_styles]["title"] = ($element[value] ? $element[value] : '');



More information about the Mapbender_commits mailing list