From c32bcfe751689a09d7b2f7dcc114b8ca0c021f1d Mon Sep 17 00:00:00 2001 From: Brendan Heywood Date: Thu, 28 Apr 2016 13:01:27 +1000 Subject: [PATCH] MDL-53973 tablelib: Fixed bug with worksheetname being ignored --- lib/tablelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tablelib.php b/lib/tablelib.php index ce3ff202fe5..3ab007025a0 100644 --- a/lib/tablelib.php +++ b/lib/tablelib.php @@ -1730,7 +1730,6 @@ class table_dataformat_export_format extends table_default_export_format_parent $this->filename = $filename; $this->documentstarted = true; $this->dataformat->set_filename($filename); - $this->dataformat->send_http_headers(); } /** @@ -1740,6 +1739,7 @@ class table_dataformat_export_format extends table_default_export_format_parent */ public function start_table($sheettitle) { $this->dataformat->set_sheettitle($sheettitle); + $this->dataformat->send_http_headers(); } /**