Merge pull request #5261 from sadapon2008/2.x-response-ob_flush

an unnecessary E_NOTICE caused by CakeResponse::download()
This commit is contained in:
Mark Story 2014-11-26 07:40:29 -05:00
commit ac02350f41

View file

@ -1507,7 +1507,9 @@ class CakeResponse {
protected function _flushBuffer() {
//@codingStandardsIgnoreStart
@flush();
@ob_flush();
if (ob_get_level()) {
@ob_flush();
}
//@codingStandardsIgnoreEnd
}