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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Apr 9 02:56:43 PDT 2015


Author: armin11
Date: 2015-04-09 02:56:43 -0700 (Thu, 09 Apr 2015)
New Revision: 9183

Modified:
   trunk/mapbender/http/classes/class_wfsToDb.php
Log:
Bugfix for handling of wfs metadata urls as objects rather than strings

Modified: trunk/mapbender/http/classes/class_wfsToDb.php
===================================================================
--- trunk/mapbender/http/classes/class_wfsToDb.php	2015-04-08 12:55:50 UTC (rev 9182)
+++ trunk/mapbender/http/classes/class_wfsToDb.php	2015-04-09 09:56:43 UTC (rev 9183)
@@ -589,7 +589,7 @@
 		$randomid = new Uuid();
 		$mdOwner = Mapbender::session()->get("mb_user_id");
 		$mbMetadata->randomId = $randomid;
-		$mbMetadata->href = $metadataUrl->href;
+		$mbMetadata->href = (string)$metadataUrl->href;
 		$mbMetadata->format = $metadataUrl->format;
 		$mbMetadata->type = $metadataUrl->type;
 		$mbMetadata->origin = "capabilities";



More information about the Mapbender_commits mailing list