Do not use output buffering for pretty printing variable content

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2015-04-28 14:31:37 +02:00
parent b3da89116d
commit 6df80bdef0

View File

@ -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);
}
}
?>