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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri May 13 03:09:50 PDT 2016


Author: armin11
Date: 2016-05-13 03:09:50 -0700 (Fri, 13 May 2016)
New Revision: 9459

Modified:
   trunk/mapbender/http/classes/class_metadata_new.php
Log:
bugfix

Modified: trunk/mapbender/http/classes/class_metadata_new.php
===================================================================
--- trunk/mapbender/http/classes/class_metadata_new.php	2016-05-13 07:25:02 UTC (rev 9458)
+++ trunk/mapbender/http/classes/class_metadata_new.php	2016-05-13 10:09:50 UTC (rev 9459)
@@ -707,7 +707,7 @@
 					foreach($this->datasetJSON->dataset->srv[$i]->coupledResources->featuretype[$featuretypeCount]->srv->ftype as $ftype) {
 						//$e = new mb_exception("classes/class_metadata_new.php: compare featuretype ids: ".$ftype->id." - ".$ft->id);
 						if ($ftype->id !== $ft->id) {
-							$this->datasetJSON->dataset->srv[$i]->coupledResources->featuretype[$featuretypeCount]->srv->ftype[$cntFtype] = null;	
+							unset($this->datasetJSON->dataset->srv[$i]->coupledResources->featuretype[$featuretypeCount]->srv->ftype[$cntFtype]);	
 						}
 						$cntFtype++;
 					}



More information about the Mapbender_commits mailing list