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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 31 07:41:16 PDT 2013


Author: verenadiewald
Date: 2013-07-31 07:41:16 -0700 (Wed, 31 Jul 2013)
New Revision: 8684

Modified:
   trunk/mapbender/http/classes/class_wmc.php
Log:
some code cleaning to avoid PHP Notices

Modified: trunk/mapbender/http/classes/class_wmc.php
===================================================================
--- trunk/mapbender/http/classes/class_wmc.php	2013-07-31 14:22:38 UTC (rev 8683)
+++ trunk/mapbender/http/classes/class_wmc.php	2013-07-31 14:41:16 UTC (rev 8684)
@@ -1379,11 +1379,11 @@
 
 
 		foreach ($values as $element) {
-			$tag = strtoupper(administration::sepNameSpace($element[tag]));
-			$tagLowerCase = administration::sepNameSpace($element[tag]);
-			$type = $element[type];
-			$attributes = $element[attributes];
-			$value = mb_utf8_decode(html_entity_decode($element[value]));
+			$tag = strtoupper(administration::sepNameSpace($element['tag']));
+			$tagLowerCase = administration::sepNameSpace($element['tag']);
+			$type = $element['type'];
+			$attributes = $element['attributes'];
+			$value = mb_utf8_decode(html_entity_decode($element['value']));
 
 			if ($tag == "VIEWCONTEXT" && $type == "open") {
 				$this->wmc_id = $attributes["id"];



More information about the Mapbender_commits mailing list