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