[-] CORE : Remove notices on ob clean
This commit is contained in:
@@ -34,7 +34,7 @@ class AttachmentControllerCore extends FrontController
|
||||
|
||||
Hook::exec('actionDownloadAttachment', array('attachment' => &$a);
|
||||
|
||||
if (ob_get_level())
|
||||
if (ob_get_level() && ob_get_length() > 0)
|
||||
ob_end_clean();
|
||||
|
||||
header('Content-Transfer-Encoding: binary');
|
||||
|
||||
Reference in New Issue
Block a user