[-] CORE : Remove notices on ob clean
This commit is contained in:
@@ -270,7 +270,7 @@ class GetFileControllerCore extends FrontController
|
||||
$mimeType = 'application/octet-stream';
|
||||
}
|
||||
|
||||
if (ob_get_level())
|
||||
if (ob_get_level() && ob_get_length() > 0)
|
||||
ob_end_clean();
|
||||
|
||||
/* Set headers for download */
|
||||
|
||||
Reference in New Issue
Block a user