From ce9705af8e0df4c00a609d30b1c00f93b7952529 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 5 Nov 2009 10:00:51 +0000 Subject: [PATCH] bug #2891250 [ob] Garbled data in navi frame (PHP 5.2.11 bug) --- ChangeLog | 1 + libraries/ob.lib.php | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 029cf51ff..c8bcf8277 100644 --- a/ChangeLog +++ b/ChangeLog @@ -52,6 +52,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug [engines] Innodb_buffer_pool_pages_latched no longer returned in status - bug #2890451 [setup] Inconsistent generated "designer_coords" - bug #2890443 [mysqli] "No index used in query" exception is reported +- bug #2891250 [ob] Garbled data in navi frame (PHP 5.2.11 bug) 3.2.3.0 (2009-10-30) - patch #2856664 [export] Date, time, and datetime column types now export correctly to diff --git a/libraries/ob.lib.php b/libraries/ob.lib.php index df1c97101..180c463fe 100644 --- a/libraries/ob.lib.php +++ b/libraries/ob.lib.php @@ -100,9 +100,12 @@ function PMA_outBufferPost() { if (ob_get_status() && PMA_outBufferModeGet()) { ob_flush(); - } else { - flush(); } + /** + * previously we had here an "else flush()" but some PHP versions + * (at least PHP 5.2.11) have a bug (49816) that produces garbled + * data + */ } // end of the 'PMA_outBufferPost()' function ?>