X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=GnumericToExcel.php;h=5b6e47148eb2f5a2ce22e847107a84bfb4831527;hp=9927c456ac85a949b57f2ea4772fef6c6d9bd023;hb=a2456e05971e2e1d8ed90cf2982efa7e71a27d44;hpb=0aabc23ac14416b670b56c3df422de008c58c4fd diff --git a/GnumericToExcel.php b/GnumericToExcel.php index 9927c456..5b6e4714 100644 --- a/GnumericToExcel.php +++ b/GnumericToExcel.php @@ -55,7 +55,7 @@ class Pman_Core_GnumericToExcel extends Pman //$this->addEvent("DOWNLOAD", false, isset($_REQUEST['title']) ? $_REQUEST['title'] : '???'); - if (1) { // if (!empty($_POST['format']) && $_POST['format']=='gnumeric') { + if (!empty($_POST['format']) && $_POST['format']=='gnumeric') { if (empty($_POST['debug'])) { header('Content-type: application/x-gnumeric'); header('Content-Disposition: attachment; filename="' .addslashes($fname). '.gnumeric"');