[Mapbender-commits] r9927 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jul 26 03:53:01 PDT 2018


Author: armin11
Date: 2018-07-26 03:53:01 -0700 (Thu, 26 Jul 2018)
New Revision: 9927

Modified:
   trunk/mapbender/http/classes/class_syncCkan.php
Log:
Fix for emails with (at) - replace them with @ in ckan export interface

Modified: trunk/mapbender/http/classes/class_syncCkan.php
===================================================================
--- trunk/mapbender/http/classes/class_syncCkan.php	2018-07-26 10:36:12 UTC (rev 9926)
+++ trunk/mapbender/http/classes/class_syncCkan.php	2018-07-26 10:53:01 UTC (rev 9927)
@@ -1279,7 +1279,7 @@
 	$ckanPackage->owner_org = $orgaId;
 	$ckanPackage->maintainer = $respPartyName;
 	$ckanPackage->dataresponsibleauthorities = $respPartyName;
-	$ckanPackage->maintainer_email = $respPartyEmail;
+	$ckanPackage->maintainer_email = str_replace("(at)", "@",$respPartyEmail);
 	$ckanPackage->private = false;
 	//$ckanPackage->id = $row['uuid'];
 	$ckanPackage->author = $orgaTitle;



More information about the Mapbender_commits mailing list