[Mapbender-commits] r2992 - branches/tree_dev/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Sep 19 09:14:16 EDT 2008


Author: christoph
Date: 2008-09-19 09:14:15 -0400 (Fri, 19 Sep 2008)
New Revision: 2992

Modified:
   branches/tree_dev/http/php/mod_customTree_server.php
Log:
bug: left and right must be converted to string

Modified: branches/tree_dev/http/php/mod_customTree_server.php
===================================================================
--- branches/tree_dev/http/php/mod_customTree_server.php	2008-09-19 11:36:12 UTC (rev 2991)
+++ branches/tree_dev/http/php/mod_customTree_server.php	2008-09-19 13:14:15 UTC (rev 2992)
@@ -130,8 +130,8 @@
 					}
 				}
 				$currentNode = array(
-					"left" => $row["lft"],
-					"right" => $row["rgt"],
+					"left" => intval($row["lft"]),
+					"right" => intval($row["rgt"]),
 					"name" => $row["my_layer_title"],
 					"wms" => $wmsArray
 				);



More information about the Mapbender_commits mailing list