[-] CORE : Remove notices on ob clean
This commit is contained in:
@@ -222,7 +222,7 @@ abstract class ModuleGraphCore extends Module
|
||||
|
||||
protected function _displayCsv()
|
||||
{
|
||||
if (ob_get_length())
|
||||
if (ob_get_level() && ob_get_length() > 0)
|
||||
ob_end_clean();
|
||||
header('Content-Type: application/octet-stream');
|
||||
header('Content-Disposition: attachment; filename="'.$this->displayName.' - '.time().'.csv"');
|
||||
|
||||
Reference in New Issue
Block a user