[Mapbender-commits] r8527 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Dec 11 07:24:11 PST 2012
Author: armin11
Date: 2012-12-11 07:24:11 -0800 (Tue, 11 Dec 2012)
New Revision: 8527
Modified:
trunk/mapbender/http/php/mb_getWmsData.php
trunk/mapbender/http/php/mod_updateWMS.php
Log:
Solve little bug when encoding mail body
Modified: trunk/mapbender/http/php/mb_getWmsData.php
===================================================================
--- trunk/mapbender/http/php/mb_getWmsData.php 2012-12-11 15:15:29 UTC (rev 8526)
+++ trunk/mapbender/http/php/mb_getWmsData.php 2012-12-11 15:24:11 UTC (rev 8527)
@@ -149,7 +149,7 @@
$error_msg = "";
for ($i=0; $i<count($notification_mail_addresses); $i++) {
- if (!$admin->sendEmail($replyto, $from, $notification_mail_addresses[$i], $notification_mail_addresses[$i], _mb("Update of an observed WMS"), $body, $error)) {
+ if (!$admin->sendEmail($replyto, $from, $notification_mail_addresses[$i], $notification_mail_addresses[$i], _mb("Update of an observed WMS"), utf8_decode($body), $error)) {
if ($error){
$error_msg .= $error . " ";
}
Modified: trunk/mapbender/http/php/mod_updateWMS.php
===================================================================
--- trunk/mapbender/http/php/mod_updateWMS.php 2012-12-11 15:15:29 UTC (rev 8526)
+++ trunk/mapbender/http/php/mod_updateWMS.php 2012-12-11 15:24:11 UTC (rev 8527)
@@ -443,7 +443,7 @@
$error_msg = "";
for ($i=0; $i<count($notification_mail_addresses); $i++) {
- if (!$admin->sendEmail($replyto, $from, $notification_mail_addresses[$i], $notification_mail_addresses[$i], _mb("Update of an observed WMS"), $body, $error)) {
+ if (!$admin->sendEmail($replyto, $from, $notification_mail_addresses[$i], $notification_mail_addresses[$i], _mb("Update of an observed WMS"), utf8_decode($body), $error)) {
if ($error){
$error_msg .= $error . " ";
}
More information about the Mapbender_commits
mailing list