[Mapbender-commits] r2288 - branches/2.5/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Mar 25 06:39:07 EDT 2008


Author: nimix
Date: 2008-03-25 06:39:07 -0400 (Tue, 25 Mar 2008)
New Revision: 2288

Modified:
   branches/2.5/http/php/mod_wfs_server.php
Log:
fix javascript error if wfs configureations is selected

Modified: branches/2.5/http/php/mod_wfs_server.php
===================================================================
--- branches/2.5/http/php/mod_wfs_server.php	2008-03-25 10:36:49 UTC (rev 2287)
+++ branches/2.5/http/php/mod_wfs_server.php	2008-03-25 10:39:07 UTC (rev 2288)
@@ -286,10 +286,14 @@
 }
 function setOwsproxy($obj){
 	$n = new administration();
+	if($obj->wfs=="gui_confs")
+		return false;
 	return $n->setWfsOwsproxyString($obj->wfs,true);
 }
 function removeOwsproxy($obj){
 	$n = new administration();
+	if($obj->wfs=="gui_confs")
+		return false;
 	return $n->setWfsOwsproxyString($obj->wfs,false);
 }
 /*



More information about the Mapbender_commits mailing list