diff -r bb8e04f74819 -r 3b97242ada21 includes/functions.php --- a/includes/functions.php Fri Aug 21 13:50:45 2009 -0400 +++ b/includes/functions.php Fri Aug 21 15:37:23 2009 -0400 @@ -565,7 +565,7 @@ } } - ob_end_clean(); + @ob_end_clean(); $output->set_title($lang->get('user_csrf_confirm_title')); $output->header(); @@ -848,7 +848,7 @@ global $db, $session, $paths, $template, $plugins; // Common objects $db->close(); - if ( ob_get_status() ) + if ( @ob_get_status() ) ob_end_clean(); // If the config hasn't been fetched yet, call grinding_halt. @@ -889,7 +889,7 @@ { global $db, $session, $paths, $template, $plugins; // Common objects - if ( ob_get_status() ) + if ( @ob_get_status() ) ob_end_clean(); $paths->cpage['name'] = $t; @@ -918,7 +918,7 @@ if ( is_object($db) ) $db->close(); - if ( ob_get_status() ) + if ( @ob_get_status() ) ob_end_clean(); if ( defined('ENANO_CLI') )