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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Dec 18 04:29:40 PST 2018


Author: armin11
Date: 2018-12-18 04:29:40 -0800 (Tue, 18 Dec 2018)
New Revision: 10020

Modified:
   trunk/mapbender/http/classes/class_metadata.php
Log:
Fix

Modified: trunk/mapbender/http/classes/class_metadata.php
===================================================================
--- trunk/mapbender/http/classes/class_metadata.php	2018-12-17 13:32:00 UTC (rev 10019)
+++ trunk/mapbender/http/classes/class_metadata.php	2018-12-18 12:29:40 UTC (rev 10020)
@@ -526,7 +526,8 @@
 				}	
 				//alter ftype to array - not associative array - built new sequence
 				$this->wfsJSON->wfs->srv[$i-$j]->ftype = array_values($this->wfsJSON->wfs->srv[$i-$j]->ftype);
-			}	
+			}
+			$this->wfsJSON->wfs->srv = array_values($this->wfsJSON->wfs->srv);	
 	}
 
 	private function generateWMCMetadataJSON($res, $n) {



More information about the Mapbender_commits mailing list