Index: includes/bootstrap.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v
retrieving revision 1.206.2.1
diff -u -p -r1.206.2.1 bootstrap.inc
--- includes/bootstrap.inc	11 Feb 2008 13:11:14 -0000	1.206.2.1
+++ includes/bootstrap.inc	11 Feb 2008 14:30:24 -0000
@@ -503,6 +503,9 @@ function page_get_cache($status_only = F
   static $status = FALSE;
   global $user, $base_root;
 
+  if ($status_only) {
+    return $status;
+  }
   $cache = NULL;
 
   if (!$user->uid && $_SERVER['REQUEST_METHOD'] == 'GET' && count(drupal_set_message()) == 0) {
@@ -514,7 +517,7 @@ function page_get_cache($status_only = F
     }
   }
 
-  return $status_only ? $status : $cache;
+  return $cache;
 }
 
 /**
