Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1048
diff -u -p -r1.1048 common.inc
--- includes/common.inc	16 Nov 2009 05:15:21 -0000	1.1048
+++ includes/common.inc	16 Nov 2009 19:41:43 -0000
@@ -5131,7 +5131,9 @@ function drupal_render_cache_get($elemen
   if (!empty($cid) && $cache = cache_get($cid, $bin)) {
     // Add additional libraries, JavaScript, CSS and other data attached
     // to this element.
-    drupal_process_attached($cache->data);
+    if (isset($cache->data['#attached'])) {
+      drupal_process_attached($cache->data);
+    }
     // Return the rendered output.
     return $cache->data['#markup'];;
   }
