[fusion-commits] r2812 - trunk/widgets/QuickPlot
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed Nov 13 23:34:51 PST 2013
Author: jng
Date: 2013-11-13 23:34:51 -0800 (Wed, 13 Nov 2013)
New Revision: 2812
Modified:
trunk/widgets/QuickPlot/PlotAsPDF.php
Log:
QuickPlot: Use a default download filename if title is blank.
Modified: trunk/widgets/QuickPlot/PlotAsPDF.php
===================================================================
--- trunk/widgets/QuickPlot/PlotAsPDF.php 2013-11-14 07:29:42 UTC (rev 2811)
+++ trunk/widgets/QuickPlot/PlotAsPDF.php 2013-11-14 07:34:51 UTC (rev 2812)
@@ -208,7 +208,10 @@
}
// Close and output PDF document
- $pdf->Output($title.'.pdf', 'I');
+ if (strlen($title) == 0)
+ $pdf->Output('Map.pdf', 'I');
+ else
+ $pdf->Output($title.'.pdf', 'I');
?>
<?php
More information about the fusion-commits
mailing list