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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Dec 16 06:12:51 EST 2010


Author: kmq
Date: 2010-12-16 03:12:51 -0800 (Thu, 16 Dec 2010)
New Revision: 7317

Modified:
   trunk/mapbender/http/php/mod_digitize_splitLine.php
Log:
fix line cutting

Modified: trunk/mapbender/http/php/mod_digitize_splitLine.php
===================================================================
--- trunk/mapbender/http/php/mod_digitize_splitLine.php	2010-12-16 10:04:13 UTC (rev 7316)
+++ trunk/mapbender/http/php/mod_digitize_splitLine.php	2010-12-16 11:12:51 UTC (rev 7317)
@@ -48,10 +48,9 @@
 	$endpoint = $row['endpoint'];
 	$points[] = $row['point'];
 }
-// if the two lines don't intersect, we just do nothing, and return the lines we were given
+// if the two lines don't intersect, we just do nothing, and return the first line
 if(count($points) == 0){
 	$lineArray[] = $line1Text;
-	$lineArray[] = $line2Text;
 }else{
 	$points[] = $endpoint;
 



More information about the Mapbender_commits mailing list