[Mapbender-commits] r8151 - branches/2.7/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Sep 16 06:54:56 EDT 2011


Author: verenadiewald
Date: 2011-09-16 03:54:55 -0700 (Fri, 16 Sep 2011)
New Revision: 8151

Modified:
   branches/2.7/http/plugins/mb_print.php
Log:
check if typeof GlobalPrintableGeometries is undefined

Modified: branches/2.7/http/plugins/mb_print.php
===================================================================
--- branches/2.7/http/plugins/mb_print.php	2011-09-16 00:22:31 UTC (rev 8150)
+++ branches/2.7/http/plugins/mb_print.php	2011-09-16 10:54:55 UTC (rev 8151)
@@ -478,7 +478,7 @@
                 var realpos= [null,null];
                 var feature = null;
 
-                if(GlobalPrintableGeometries){
+                if(typeof GlobalPrintableGeometries != "undefined"){
 
                     for(var idx = 0; idx < GlobalPrintableGeometries.count(); idx++ ) {
                         feature = GlobalPrintableGeometries.get(idx);



More information about the Mapbender_commits mailing list