diff --git a/ChangeLog b/ChangeLog index 00e00e7c6..7954740ac 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,7 +9,8 @@ $Source$ * libraries/sqlparser.lib.php3: - Fixed ANSI type string escaping - Fixed formatting wrt. whitespace in FormatHTML - - PHP3 fix for gzcompress bug code + - PHP3 fix for gzcompress() bug code + - Fix for ob_flush() bug code 2002-07-26 Marc Delisle * Documentation.html: numbers for faq entries diff --git a/libraries/sqlparser.lib.php3 b/libraries/sqlparser.lib.php3 index 25b0bd823..778e37c95 100644 --- a/libraries/sqlparser.lib.php3 +++ b/libraries/sqlparser.lib.php3 @@ -391,7 +391,9 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) { echo '---END CUT---

' . "\n\n"; echo '

' . "\n"; flush(); - ob_flush(); + if (PMA_PHP_INT_VERSION >= 42000 && @function_exists('ob_flush')) { + ob_flush(); + } die(); } // end while ($count2 < $len)