[Mapbender-commits] r1699 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Oct 2 08:56:57 EDT 2007


Author: christoph
Date: 2007-10-02 08:56:57 -0400 (Tue, 02 Oct 2007)
New Revision: 1699

Modified:
   trunk/mapbender/http/classes/class_kml.php
Log:
declared undeclared variables

Modified: trunk/mapbender/http/classes/class_kml.php
===================================================================
--- trunk/mapbender/http/classes/class_kml.php	2007-10-02 12:52:01 UTC (rev 1698)
+++ trunk/mapbender/http/classes/class_kml.php	2007-10-02 12:56:57 UTC (rev 1699)
@@ -46,6 +46,10 @@
 	}
 	
 	function createObjFromKML($kml_doc) {
+		$section = null;
+		$values = null;
+		$tags = null;
+
 		$data = $kml_doc;
 		
 		if(!$data){
@@ -62,7 +66,6 @@
 		xml_parse_into_struct($parser,$data,$values,$tags);
 		xml_parser_free($parser);
 		
-		$section;
 		$cnt_format = 0;
 		$parent = array();
 		$myParent = array();



More information about the Mapbender_commits mailing list