[Mapbender-commits] r8935 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Jun 25 07:45:46 PDT 2014
Author: hwbllmnn
Date: 2014-06-25 07:45:46 -0700 (Wed, 25 Jun 2014)
New Revision: 8935
Modified:
trunk/mapbender/http/php/mod_savewmc_server.php
Log:
fixed invalid php statement
Modified: trunk/mapbender/http/php/mod_savewmc_server.php
===================================================================
--- trunk/mapbender/http/php/mod_savewmc_server.php 2014-06-25 13:57:31 UTC (rev 8934)
+++ trunk/mapbender/http/php/mod_savewmc_server.php 2014-06-25 14:45:46 UTC (rev 8935)
@@ -54,10 +54,10 @@
return false;
}
break;
- case "file":
+ case "file":
file_put_contents($filename, $xml);
break;
- default:
+ default:
file_put_contents($filename, $xml);
break;
}
@@ -160,10 +160,11 @@
$wmc->wmc_srs = $map->epsg;
}
// make a keyword array here
- $wmc->wmc_keyword = explode(",",$attributes->keywords);
+ $kwds = explode(",",$attributes->keywords);
foreach ($wmc->keyword as &$val) {
$val = trim($val);
}
+ $wmc->wmc_keyword = $kwds;
$wmc->wmc_abstract = $attributes->abstract;
$isoTopicCat = $attributes->isoTopicCat;
More information about the Mapbender_commits
mailing list