[Mapbender-commits] r8532 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Dec 18 02:46:35 PST 2012
Author: armin11
Date: 2012-12-18 02:46:33 -0800 (Tue, 18 Dec 2012)
New Revision: 8532
Modified:
trunk/mapbender/http/php/mb_getWmsData.php
trunk/mapbender/http/php/mod_updateWMS.php
Log:
Bugfix - show all altered layers in email
Modified: trunk/mapbender/http/php/mb_getWmsData.php
===================================================================
--- trunk/mapbender/http/php/mb_getWmsData.php 2012-12-18 09:35:10 UTC (rev 8531)
+++ trunk/mapbender/http/php/mb_getWmsData.php 2012-12-18 10:46:33 UTC (rev 8532)
@@ -101,7 +101,7 @@
for ($j=0; $j<count($changedLayerArray); $j++) {
if ($changedLayerArray[$j]["oldLayerName"] != $changedLayerArray[$j]["newLayerName"]) {
$e = new mb_notice("Old layer name: ".$changedLayerArray[$j]["oldLayerName"]." - changed to: ".$changedLayerArray[$j]["newLayerName"]);
- $layerChangeInformation = _mb("Old layer name: ")."'".$changedLayerArray[$j]["oldLayerName"]."'"._mb(" - changed to: ")."'".$changedLayerArray[$j]["newLayerName"]."'"."\n";
+ $layerChangeInformation .= _mb("Old layer name: ")."'".$changedLayerArray[$j]["oldLayerName"]."'"._mb(" - changed to: ")."'".$changedLayerArray[$j]["newLayerName"]."'"."\n";
}
}
//get owner of guis with this wms
Modified: trunk/mapbender/http/php/mod_updateWMS.php
===================================================================
--- trunk/mapbender/http/php/mod_updateWMS.php 2012-12-18 09:35:10 UTC (rev 8531)
+++ trunk/mapbender/http/php/mod_updateWMS.php 2012-12-18 10:46:33 UTC (rev 8532)
@@ -395,7 +395,7 @@
for ($j=0; $j<count($changedLayerArray); $j++) {
if ($changedLayerArray[$j]["oldLayerName"] != $changedLayerArray[$j]["newLayerName"]) {
$e = new mb_notice("Old layer name: ".$changedLayerArray[$j]["oldLayerName"]." - changed to: ".$changedLayerArray[$j]["newLayerName"]);
- $layerChangeInformation = _mb("Old layer name: ")."'".$changedLayerArray[$j]["oldLayerName"]."'"._mb(" - changed to: ")."'".$changedLayerArray[$j]["newLayerName"]."'"."\n";
+ $layerChangeInformation .= _mb("Old layer name: ")."'".$changedLayerArray[$j]["oldLayerName"]."'"._mb(" - changed to: ")."'".$changedLayerArray[$j]["newLayerName"]."'"."\n";
}
}
//get owner of guis with this wms
More information about the Mapbender_commits
mailing list