Commit f39f02ce authored by webchick's avatar webchick
Browse files

#601806 follow-up by sun and effulgentsia: Fix broken HEAD.

parent 796bb854
......@@ -5131,7 +5131,9 @@ function drupal_render_cache_get($elements) {
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'];;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment