From 6df80bdef00f11523a692ed87f40ee5ec00ccf11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 28 Apr 2015 14:31:37 +0200 Subject: [PATCH] Do not use output buffering for pretty printing variable content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- libraries/Error_Handler.class.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/Error_Handler.class.php b/libraries/Error_Handler.class.php index 94de9e45dd..224e8cddeb 100644 --- a/libraries/Error_Handler.class.php +++ b/libraries/Error_Handler.class.php @@ -305,10 +305,7 @@ class PMA_Error_Handler $retval .= $error->getDisplay(); } } else { - ob_start(); - var_dump($error); - $retval .= ob_get_contents(); - ob_end_clean(); + $retval .= var_export($error); } } } else { @@ -557,4 +554,3 @@ class PMA_Error_Handler $response->getFooter()->getScripts()->addCode($jsCode); } } -?>