[Mapbender-commits] r2807 - trunk/mapbender/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Aug 15 04:05:41 EDT 2008


Author: marko
Date: 2008-08-15 04:05:40 -0400 (Fri, 15 Aug 2008)
New Revision: 2807

Modified:
   trunk/mapbender/http/print/print_functions.php
Log:
bug fix: http://trac.osgeo.org/mapbender/ticket/276

Modified: trunk/mapbender/http/print/print_functions.php
===================================================================
--- trunk/mapbender/http/print/print_functions.php	2008-08-14 15:35:31 UTC (rev 2806)
+++ trunk/mapbender/http/print/print_functions.php	2008-08-15 08:05:40 UTC (rev 2807)
@@ -1,5 +1,7 @@
 <?php
 /**
+ * $Id$
+ * 
  * converts the coordinates created via the JavaScript
  * functions in 'mod_measure.php' into an array which 
  * then holds both X- ans Y-values for each point in
@@ -220,7 +222,7 @@
 	  $nr_of_points = count($theFullArr);
 		$isClosed = TRUE;
 	} else {
-	  $nr_of_points = count($theFullArr) - 1;
+	  $nr_of_points = count($theFullArr);
 		$isClosed = FALSE;
 	}
 	



More information about the Mapbender_commits mailing list