From d7cfc9c1ec5870bd26c090e871c3e256abffb694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AE=E3=81=B6?= Date: Thu, 16 Aug 2018 12:06:51 +0900 Subject: [PATCH] =?UTF-8?q?fix=20#156=20=E5=A3=B2=E4=B8=8A=E9=9B=86?= =?UTF-8?q?=E8=A8=88CSV=E3=83=80=E3=82=A6=E3=83=B3=E3=83=AD=E3=83=BC?= =?UTF-8?q?=E3=83=89=E3=81=AE=E4=B8=8D=E5=85=B7=E5=90=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/class/pages/LC_Page.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/class/pages/LC_Page.php b/data/class/pages/LC_Page.php index 3307a7b436..be91483ae0 100644 --- a/data/class/pages/LC_Page.php +++ b/data/class/pages/LC_Page.php @@ -166,7 +166,6 @@ public function sendResponse() */ public function sendResponseCSV($file_name, $data) { - $this->objDisplay->prepare($this); $this->objDisplay->addHeader('Content-disposition', "attachment; filename=${file_name}"); $this->objDisplay->addHeader('Content-type', "application/octet-stream; name=${file_name}"); $this->objDisplay->addHeader('Cache-Control', ''); @@ -444,7 +443,7 @@ public function doValidToken($is_admin = false) if (!SC_Helper_Session_Ex::isValidToken(false)) { SC_Utils_Ex::sfDispError(INVALID_MOVE_ERRORR); SC_Response_Ex::actionExit(); - } + } } } else { if ($_SERVER['REQUEST_METHOD'] == 'POST') {