mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-53973 tablelib: Fixed bug with worksheetname being ignored
This commit is contained in:
parent
efd0d992d5
commit
c32bcfe751
1 changed files with 1 additions and 1 deletions
|
@ -1730,7 +1730,6 @@ class table_dataformat_export_format extends table_default_export_format_parent
|
||||||
$this->filename = $filename;
|
$this->filename = $filename;
|
||||||
$this->documentstarted = true;
|
$this->documentstarted = true;
|
||||||
$this->dataformat->set_filename($filename);
|
$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) {
|
public function start_table($sheettitle) {
|
||||||
$this->dataformat->set_sheettitle($sheettitle);
|
$this->dataformat->set_sheettitle($sheettitle);
|
||||||
|
$this->dataformat->send_http_headers();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue