includes/functions.php
changeset 1092 3b97242ada21
parent 1081 745200a9cc2a
child 1099 73abd46f5148
--- 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') )