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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Nov 4 10:08:53 EST 2009


Author: kmq
Date: 2009-11-04 10:08:52 -0500 (Wed, 04 Nov 2009)
New Revision: 4923

Modified:
   trunk/mapbender/http/php/mod_savewmc_server.php
Log:
changed element var to use 1 for true, everything else for false

Modified: trunk/mapbender/http/php/mod_savewmc_server.php
===================================================================
--- trunk/mapbender/http/php/mod_savewmc_server.php	2009-11-04 15:07:10 UTC (rev 4922)
+++ trunk/mapbender/http/php/mod_savewmc_server.php	2009-11-04 15:08:52 UTC (rev 4923)
@@ -32,7 +32,7 @@
 $extensionData = $json->decode($_POST["extensionData"]);
 
 $overwrite = isset($_POST["overwrite"]) ? $_POST['overwrite'] : "false";
-$overwrite = $overwrite == "true" ? True : False;
+$overwrite = $overwrite == "1" ? True : False;
 
 
 // create WMC object



More information about the Mapbender_commits mailing list