[Mapbender-commits] r9182 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Apr 8 05:55:50 PDT 2015
Author: armin11
Date: 2015-04-08 05:55:50 -0700 (Wed, 08 Apr 2015)
New Revision: 9182
Modified:
trunk/mapbender/http/php/mod_getDownloadOptions.php
Log:
Bugfix for external metadata references
Modified: trunk/mapbender/http/php/mod_getDownloadOptions.php
===================================================================
--- trunk/mapbender/http/php/mod_getDownloadOptions.php 2015-04-08 09:56:37 UTC (rev 9181)
+++ trunk/mapbender/http/php/mod_getDownloadOptions.php 2015-04-08 12:55:50 UTC (rev 9182)
@@ -191,7 +191,7 @@
//parse json and add some more info?
//$downloadLinks = json_decode($row['datalink_text']);
foreach ($downloadLinks->downloadLinks as $downloadLink) {
- $downloadOptions->{$idList[$i]}->option[$j]->link = $downloadLink;
+ $downloadOptions->{$idList[$i]}->option[$j]->link = $downloadLink->{"0"};
//check if
$downloadOptions->{$idList[$i]}->option[$j]->format = $row['format'];
}
More information about the Mapbender_commits
mailing list