[Mapbender-commits] r10377 - trunk/mapbender/tools

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Dec 18 07:09:19 PST 2019


Author: armin11
Date: 2019-12-18 07:09:19 -0800 (Wed, 18 Dec 2019)
New Revision: 10377

Modified:
   trunk/mapbender/tools/registerOwsCli.php
Log:
Fix registrating wms error when wms is authenticated - wrong userId was written on owner column!

Modified: trunk/mapbender/tools/registerOwsCli.php
===================================================================
--- trunk/mapbender/tools/registerOwsCli.php	2019-12-18 15:09:02 UTC (rev 10376)
+++ trunk/mapbender/tools/registerOwsCli.php	2019-12-18 15:09:19 UTC (rev 10377)
@@ -61,7 +61,7 @@
 	$mywms->owner = $userId;
 	$result = $mywms->createObjFromXML($serviceAccessUrl);
 	if ($result['success']) {
-		$mywms->writeObjInDB($guiId, true, (integer)$userId);  
+		$mywms->writeObjInDB($guiId, false, true, (integer)$userId);  
 		echo $mywms->wms_id;
 		die();
 	} else {



More information about the Mapbender_commits mailing list