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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Nov 13 07:58:53 PST 2017


Author: armin11
Date: 2017-11-13 07:58:53 -0800 (Mon, 13 Nov 2017)
New Revision: 9813

Modified:
   trunk/mapbender/http/php/wms.php
Log:
Fix error

Modified: trunk/mapbender/http/php/wms.php
===================================================================
--- trunk/mapbender/http/php/wms.php	2017-11-13 15:30:17 UTC (rev 9812)
+++ trunk/mapbender/http/php/wms.php	2017-11-13 15:58:53 UTC (rev 9813)
@@ -188,6 +188,10 @@
 	$AuthorityUrl = $metadataContactGroup["metadatapointofcontactorgurl"];
 }
 
+if (substr($AuthorityUrl, -1) !== '/') {
+	$AuthorityUrl = $AuthorityUrl.'/';		
+}
+
 if ($AuthorityName == '') {
 	$AuthorityName = "defaultauthority";
 }



More information about the Mapbender_commits mailing list