From: Alan Knowles Date: Thu, 25 Jul 2019 03:19:30 +0000 (+0800) Subject: remove debug code X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=a2456e05971e2e1d8ed90cf2982efa7e71a27d44 remove debug code --- 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"');