[Mapbender-commits] r2823 - branches/2.5/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Aug 15 09:48:44 EDT 2008


Author: christoph
Date: 2008-08-15 09:48:43 -0400 (Fri, 15 Aug 2008)
New Revision: 2823

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

Modified: branches/2.5/http/print/print_functions.php
===================================================================
--- branches/2.5/http/print/print_functions.php	2008-08-15 13:32:34 UTC (rev 2822)
+++ branches/2.5/http/print/print_functions.php	2008-08-15 13:48:43 UTC (rev 2823)
@@ -217,12 +217,12 @@
     $thePolyArr = makePolyFromCoord($theFullArr);
 	
 	if (isClosedPolygon($theFullArr)) {
-	  $nr_of_points = count($theFullArr);
 		$isClosed = TRUE;
-	} else {
-	  $nr_of_points = count($theFullArr) - 1;
+	} 
+	else {
 		$isClosed = FALSE;
 	}
+	$nr_of_points = count($theFullArr);
 	
 	// is fill option set?
 	// wenn der erste und letzte punkt nicht �bereinstimmen,



More information about the Mapbender_commits mailing list