[Mapbender-commits] r7743 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Apr 5 03:45:22 EDT 2011


Author: verenadiewald
Date: 2011-04-05 00:45:22 -0700 (Tue, 05 Apr 2011)
New Revision: 7743

Modified:
   trunk/mapbender/http/php/mod_wfs_server.php
Log:
set valid wfs update url

Modified: trunk/mapbender/http/php/mod_wfs_server.php
===================================================================
--- trunk/mapbender/http/php/mod_wfs_server.php	2011-04-04 13:37:13 UTC (rev 7742)
+++ trunk/mapbender/http/php/mod_wfs_server.php	2011-04-05 07:45:22 UTC (rev 7743)
@@ -283,11 +283,12 @@
 	while($row = db_fetch_array($res)){
 		$ContentOfColumn = $row[$obj->column];
 		if($obj->column == 'wfs_getcapabilities'){
-										$n = new administration();
-										$updateUrl = $n->checkURL($ContentOfColumn)."Version=".$row['wfs_version']."&Request=getCapabilities&SERVICE=WFS";
-		}else{
-					$updateUrl = $ContentOfColumn;
+			$n = new administration();
+			$updateUrl = $n->checkURL($ContentOfColumn)."VERSION=".$row['wfs_version']."&REQUEST=GetCapabilities&SERVICE=WFS";
 		}
+		else{
+			$updateUrl = $ContentOfColumn;
+		}
 			
 		return $updateUrl;
 	}



More information about the Mapbender_commits mailing list