Do not use output buffering for pretty printing variable content
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
b3da89116d
commit
6df80bdef0
@ -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);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user