[Mapbender-commits] r10172 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jul 1 04:37:35 PDT 2019


Author: armin11
Date: 2019-07-01 04:37:35 -0700 (Mon, 01 Jul 2019)
New Revision: 10172

Modified:
   trunk/mapbender/http/php/mod_getCoupledResourcesForDataset.php
Log:
Fix

Modified: trunk/mapbender/http/php/mod_getCoupledResourcesForDataset.php
===================================================================
--- trunk/mapbender/http/php/mod_getCoupledResourcesForDataset.php	2019-07-01 11:31:58 UTC (rev 10171)
+++ trunk/mapbender/http/php/mod_getCoupledResourcesForDataset.php	2019-07-01 11:37:35 UTC (rev 10172)
@@ -290,7 +290,7 @@
 							$serviceMetadata->service[$k]->accessClient = $scheme.'://'.$hostName.str_replace("php/".basename($_SERVER['SCRIPT_NAME']), "plugins/mb_downloadFeedClient.php", $_SERVER['PHP_SELF'])."?url=".urlencode($mdAccessUrl);
 							$serviceMetadata->service[$k]->serviceSubType = 'ATOM';
 							$serviceMetadata->service[$k]->serviceType = "download";
-							$serviceMetadata->service[$k]->accessUrl = $mdAccessUrl;
+							$serviceMetadata->service[$k]->accessUrl = (string)$mdAccessUrl;
 						} else {
 							$serviceMetadata->service[$k]->serviceSubType = 'WFS';
 							$serviceMetadata->service[$k]->serviceType = "download";						



More information about the Mapbender_commits mailing list