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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 18 05:58:33 EST 2011


Author: apour
Date: 2011-01-18 02:58:33 -0800 (Tue, 18 Jan 2011)
New Revision: 7451

Modified:
   trunk/mapbender/http/php/mod_savewmc_server.php
Log:
bugfix

Modified: trunk/mapbender/http/php/mod_savewmc_server.php
===================================================================
--- trunk/mapbender/http/php/mod_savewmc_server.php	2011-01-18 10:54:34 UTC (rev 7450)
+++ trunk/mapbender/http/php/mod_savewmc_server.php	2011-01-18 10:58:33 UTC (rev 7451)
@@ -44,7 +44,7 @@
 
 if ($saveInSession === 1) {
 	// store XML in tmp folder
-    if(!empty(Mapbender::session()->get("mb_wmc"))) {
+    if(!Mapbender::session()->get("mb_wmc")) {
         $filename = Mapbender::session()->get("mb_wmc");
     } else {
         $filename = TMPDIR."/".time()."_".uniqid();



More information about the Mapbender_commits mailing list