Skip to content
Permalink
Browse files

MDL-56642 dataformat: Fixed method_exits parameters

  • Loading branch information...
Rajesh Taneja authored and stronk7 committed Dec 7, 2016
1 parent 7371bec commit 6f5c29d565b955d0fbc52e9818d60342a85ccc5b
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/classes/dataformat/spout_base.php
@@ -49,7 +49,7 @@ abstract class spout_base extends \core\dataformat\base {
*/
public function send_http_headers() {
$this->writer = \Box\Spout\Writer\WriterFactory::create($this->spouttype);
if (method_exists('setTempFolder', $this->writer)) {
if (method_exists($this->writer, 'setTempFolder')) {
$this->writer->setTempFolder(make_request_directory());
}
$filename = $this->filename . $this->get_extension();

0 comments on commit 6f5c29d

Please sign in to comment.
You can’t perform that action at this time.