From: Alan Knowles Date: Thu, 25 Jul 2019 07:52:38 +0000 (+0800) Subject: GnumericToExcel.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=f68eb94755cb2c5a61a5fe4cf683adab23f24b29 GnumericToExcel.php --- 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"');