diff --git a/application/default/controllers/ServiceController.php b/application/default/controllers/ServiceController.php index de0324b5..d02f88f7 100644 --- a/application/default/controllers/ServiceController.php +++ b/application/default/controllers/ServiceController.php @@ -578,7 +578,7 @@ class ServiceController extends Zend_Controller_Action @$odf->setVars('east',$row['east'],true,'utf-8'); $odf->setImage('bigthumb', 'http://test.westgis.ac.cn/service/bigthumb/uuid/'.$row['uuid']); $odf->setImage('thumb', 'http://test.westgis.ac.cn/service/thumb/uuid/'.$row['uuid']); - $odf->exportAsAttachedFile(); + $odf->exportAsAttachedFile($row['title'].'.odt'); } }