From a2456e05971e2e1d8ed90cf2982efa7e71a27d44 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 25 Jul 2019 11:19:30 +0800 Subject: [PATCH] remove debug code --- GnumericToExcel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"'); -- 2.39.2