// remove notice in ModuleGraph.php
This commit is contained in:
@@ -222,7 +222,8 @@ abstract class ModuleGraphCore extends Module
|
||||
|
||||
protected function _displayCsv()
|
||||
{
|
||||
ob_end_clean();
|
||||
if (ob_get_length())
|
||||
ob_end_clean();
|
||||
header('Content-Type: application/octet-stream');
|
||||
header('Content-Disposition: attachment; filename="'.$this->displayName.' - '.time().'.csv"');
|
||||
echo $this->_csv;
|
||||
|
||||
Reference in New Issue
Block a user