[Alba-desarrollo] SVN Alba r5399 - prosistem/alba/trunk/alba/apps/principal/modules/informes/actions

commits en pressenter.com.ar commits en pressenter.com.ar
Mie Ene 9 19:41:45 CET 2008


Author: josx
Date: 2008-01-09 16:41:44 -0200 (Wed, 09 Jan 2008)
New Revision: 5399

Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php
Log:
Soporte de nombre de archivo de informe con espacios

Modified: prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php
===================================================================
--- prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php	2008-01-09 18:12:37 UTC (rev 5398)
+++ prosistem/alba/trunk/alba/apps/principal/modules/informes/actions/actions.class.php	2008-01-09 18:41:44 UTC (rev 5399)
@@ -463,7 +463,7 @@
         header("Cache-Control: public, must-revalidate");
         header("Pragma: hack");
         header('Content-Length: '.filesize($OOo->GetPathnameDoc()));
-        header('Content-Disposition: attachment; filename=informe'.$informe->getNombre().'.odt');
+        header('Content-Disposition: attachment; filename="informe'.$informe->getNombre().'.odt"');
         header("Content-Transfer-Encoding: binary");
         $OOo->FlushDoc();
         $OOo->RemoveDoc();




Más información sobre la lista de distribución Alba-desarrollo