[Mapbender-commits] r1386 - branches/mapbender_sld/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed May 30 07:45:36 EDT 2007


Author: mschulz
Date: 2007-05-30 07:45:36 -0400 (Wed, 30 May 2007)
New Revision: 1386

Modified:
   branches/mapbender_sld/http/php/mod_loadCapabilitiesList.php
Log:
added gui_wms_sldurl

Modified: branches/mapbender_sld/http/php/mod_loadCapabilitiesList.php
===================================================================
--- branches/mapbender_sld/http/php/mod_loadCapabilitiesList.php	2007-05-30 11:43:38 UTC (rev 1385)
+++ branches/mapbender_sld/http/php/mod_loadCapabilitiesList.php	2007-05-30 11:45:36 UTC (rev 1386)
@@ -145,11 +145,11 @@
 	$cnt = 0;
 	while($row = db_fetch_array($res)){
 		$sql_ins = "INSERT INTO gui_wms (fkey_gui_id,fkey_wms_id,gui_wms_position,gui_wms_mapformat,";
-		$sql_ins .= "gui_wms_featureinfoformat,gui_wms_exceptionformat,gui_wms_epsg,gui_wms_visible) ";
-		$sql_ins .= "VALUES ($1,$2,$3,$4,$5,$6,$7,$8)";
+		$sql_ins .= "gui_wms_featureinfoformat,gui_wms_exceptionformat,gui_wms_epsg,gui_wms_visible,gui_wms_sldurl) ";
+		$sql_ins .= "VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9)";
 		$v = array($guiList,$wmsID,$gui_wms_position,$row["gui_wms_mapformat"],$row["gui_wms_featureinfoformat"],
-		$row["gui_wms_exceptionformat"],$row["gui_wms_epsg"],$row["gui_wms_visible"]);
-		$t = array('s','i','i','s','s','s','s','i');
+		$row["gui_wms_exceptionformat"],$row["gui_wms_epsg"],$row["gui_wms_visible"],$row["gui_wms_sldurl"]);
+		$t = array('s','i','i','s','s','s','s','i','s');
 		db_prep_query($sql_ins,$v,$t);
 		$cnt++;
 	}



More information about the Mapbender_commits mailing list