patch #1818389 to remove a notice (failed to flush buffer)

This commit is contained in:
Marc Delisle
2007-11-01 20:48:43 +00:00
parent 55bba3d546
commit 3bb64c78ea
2 changed files with 3 additions and 1 deletions

View File

@@ -97,7 +97,7 @@ function PMA_outBufferPre()
*/
function PMA_outBufferPost()
{
if (PMA_outBufferModeGet()) {
if (ob_get_status() && PMA_outBufferModeGet()) {
ob_flush();
} else {
flush();