Index: includes/bootstrap.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v
retrieving revision 1.279
diff -u -r1.279 bootstrap.inc
--- includes/bootstrap.inc	9 May 2009 18:35:00 -0000	1.279
+++ includes/bootstrap.inc	12 May 2009 04:30:40 -0000
@@ -1760,7 +1760,7 @@
   // Called from drupal_page_footer, we write to permanent storage if there
   // changes to the lookup cache for this request.
   if ($type == REGISTRY_WRITE_LOOKUP_CACHE) {
-    if ($cache_update_needed) {
+    if (!empty($cache_update_needed)) {
       cache_set('lookup_cache', $lookup_cache, 'cache_registry');
     }
     return;
