Commit 56465b90 by Scott

Check output buffering is on before calling ob_clean()

Fix #542
parent cfec3c01
...@@ -56,7 +56,10 @@ if (!function_exists('qa_install_db_fail_handler')) { ...@@ -56,7 +56,10 @@ if (!function_exists('qa_install_db_fail_handler')) {
} }
ob_clean(); // clears any current theme output to prevent broken design if (ob_get_level() > 0) {
// clears any current theme output to prevent broken design
ob_clean();
}
$success = ''; $success = '';
$errorhtml = ''; $errorhtml = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment