svn commit: r351 - trunk/mapbender/http/php/mod_addWmsFromFeatureInfo.php

christoph at osgeo.org christoph at osgeo.org
Mon May 29 06:06:55 EDT 2006


Author: christoph
Date: 2006-05-29 10:06:54+0000
New Revision: 351

Modified:
   trunk/mapbender/http/php/mod_addWmsFromFeatureInfo.php

Log:
bugfix: wrong index in function call

Modified: trunk/mapbender/http/php/mod_addWmsFromFeatureInfo.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_addWmsFromFeatureInfo.php?view=diff&rev=351&p1=trunk/mapbender/http/php/mod_addWmsFromFeatureInfo.php&p2=trunk/mapbender/http/php/mod_addWmsFromFeatureInfo.php&r1=350&r2=351
==============================================================================
--- trunk/mapbender/http/php/mod_addWmsFromFeatureInfo.php	(original)
+++ trunk/mapbender/http/php/mod_addWmsFromFeatureInfo.php	2006-05-29 10:06:54+0000
@@ -68,6 +68,6 @@
 	}
 }
 function addWmsFromInfo_pos(){
-	mb_wmsMoveByIndex(getMapObjIndexByName(mod_target), mb_mapObj[getMapObjIndexByName(mod_target)].wms.length-1, mod_addWmsFromFeatureInfo_position);
+	mb_wmsMoveByIndex(getMapObjIndexByName(mod_target), mb_mapObj[getMapObjIndexByName(mod_target)].wms.length-1, mod_addWmsFromFeatureInfo_position-1);
 	mb_removeFunctionFromArray("mb_loadWmsSubFunctions", "addWmsFromInfo_pos()");	
 }
\ No newline at end of file




More information about the Mapbender_commits mailing list