[fusion-commits] r1740 - trunk/layers/MapGuide/php

svn_fusion at osgeo.org svn_fusion at osgeo.org
Tue Jan 20 09:31:50 EST 2009


Author: madair
Date: 2009-01-20 09:31:49 -0500 (Tue, 20 Jan 2009)
New Revision: 1740

Modified:
   trunk/layers/MapGuide/php/SaveMap.php
Log:
re #193: also set defautl value to upper case

Modified: trunk/layers/MapGuide/php/SaveMap.php
===================================================================
--- trunk/layers/MapGuide/php/SaveMap.php	2009-01-19 18:33:07 UTC (rev 1739)
+++ trunk/layers/MapGuide/php/SaveMap.php	2009-01-20 14:31:49 UTC (rev 1740)
@@ -28,7 +28,7 @@
  * Purpose: get map initial information
  *****************************************************************************/
 include('Common.php');
-$format     = isset($_REQUEST['format']) ? $_REQUEST['format'] : 'png';
+$format     = isset($_REQUEST['format']) ? $_REQUEST['format'] : 'PNG';
 $layout     = isset($_REQUEST['layout']) ? $_REQUEST['layout'] : null;
 $scale      = isset($_REQUEST['scale']) ? $_REQUEST['scale'] : null;
 $imgWidth   = isset($_REQUEST['width']) ? $_REQUEST['width'] : null;



More information about the fusion-commits mailing list