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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Aug 15 09:52:43 EDT 2008


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

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

Modified: trunk/mapbender/http/print/print_functions.php
===================================================================
--- trunk/mapbender/http/print/print_functions.php	2008-08-15 13:48:43 UTC (rev 2823)
+++ trunk/mapbender/http/print/print_functions.php	2008-08-15 13:52:43 UTC (rev 2824)
@@ -219,12 +219,12 @@
     $thePolyArr = makePolyFromCoord($theFullArr);
 	
 	if (isClosedPolygon($theFullArr)) {
-	  $nr_of_points = count($theFullArr);
 		$isClosed = TRUE;
-	} else {
-	  $nr_of_points = count($theFullArr);
+	} 
+	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