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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Oct 26 03:25:57 PDT 2018


Author: armin11
Date: 2018-10-26 03:25:57 -0700 (Fri, 26 Oct 2018)
New Revision: 9984

Modified:
   trunk/mapbender/tools/registerOwsCli.php
Log:
Fix userId to class_wms.php

Modified: trunk/mapbender/tools/registerOwsCli.php
===================================================================
--- trunk/mapbender/tools/registerOwsCli.php	2018-10-22 15:26:53 UTC (rev 9983)
+++ trunk/mapbender/tools/registerOwsCli.php	2018-10-26 10:25:57 UTC (rev 9984)
@@ -54,7 +54,7 @@
 	$mywms->owner = $userId;
 	$result = $mywms->createObjFromXML($serviceAccessUrl);
 	if ($result['success']) {
-		$mywms->writeObjInDB($guiId, true, 1);  
+		$mywms->writeObjInDB($guiId, true, (integer)$userId);  
 	} else {
 		//echo $result['message'];
 		echo "error";



More information about the Mapbender_commits mailing list