svn commit: r372 - trunk/mapbender/http/classes/class_wms.php

christoph at osgeo.org christoph at osgeo.org
Wed May 31 11:17:30 EDT 2006


Author: christoph
Date: 2006-05-31 15:17:30+0000
New Revision: 372

Modified:
   trunk/mapbender/http/classes/class_wms.php

Log:


Modified: trunk/mapbender/http/classes/class_wms.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/classes/class_wms.php?view=diff&rev=372&p1=trunk/mapbender/http/classes/class_wms.php&p2=trunk/mapbender/http/classes/class_wms.php&r1=371&r2=372
==============================================================================
--- trunk/mapbender/http/classes/class_wms.php	(original)
+++ trunk/mapbender/http/classes/class_wms.php	2006-05-31 15:17:30+0000
@@ -388,7 +388,7 @@
 			continue;
 		}
 	}
-	if(!$this->wms_title || $this->wms_title == ""){
+	if(!$this->wms_title || $this->wms_title == "" || !$this->wms_getmap || $this->wms_getmap == ""){
 		$this->wms_status = false;
 		$this->optimizeWMS();
 		return false;
@@ -882,13 +882,13 @@
 	
 	for($i=0; $i<count($this->objLayer); $i++){
 		if(in_array($this->objLayer[$i]->layer_name,$exLayer)){
-			echo "<br>update: ".$this->objLayer[$i]->layer_name;
+			//echo "<br>update: ".$this->objLayer[$i]->layer_name;
 			for($j=0; $j<count($exGui); $j++){
 				$this->updateGuiLayer($i,$myWMS,$exGui[$j]);
 			}
 		}
 		else{
-			echo "<br>append: ".$this->objLayer[$i]->layer_name;
+			//echo "<br>append: ".$this->objLayer[$i]->layer_name;
 			$this->insertLayer($i,$myWMS);
 			for($j=0; $j<count($exGui); $j++){
 				$this->appendGuiLayer($i,$myWMS,$exGui[$j]);




More information about the Mapbender_commits mailing list