[Mapbender-commits] r9362 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Jan 13 04:18:19 PST 2016
Author: armin11
Date: 2016-01-13 04:18:19 -0800 (Wed, 13 Jan 2016)
New Revision: 9362
Modified:
trunk/mapbender/http/plugins/mb_metadata_server.php
Log:
Bugfix for metadata addon editor - store also fkey_user_id into md_metadata
Modified: trunk/mapbender/http/plugins/mb_metadata_server.php
===================================================================
--- trunk/mapbender/http/plugins/mb_metadata_server.php 2016-01-13 07:57:25 UTC (rev 9361)
+++ trunk/mapbender/http/plugins/mb_metadata_server.php 2016-01-13 12:18:19 UTC (rev 9362)
@@ -1185,6 +1185,8 @@
$e = new mb_notice("Stored metadata from external link to mapbender database!");
}
} else { //fill thru metador
+ $mdOwner = Mapbender::session()->get("mb_user_id");
+ $mbMetadata->owner = $mdOwner;
$mbMetadata->origin = "metador";
$mbMetadata->fileIdentifier = $uuid;
$mbMetadata->randomId = $randomid;
More information about the Mapbender_commits
mailing list