summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index ff0acc58f..437309197 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -4126,7 +4126,7 @@ function drupal_render(&$elements) {
}
// Try to fetch the element's markup from cache and return.
- if ($cached_output = drupal_render_cache_get($elements)) {
+ if (isset($elements['#cache']) && $cached_output = drupal_render_cache_get($elements)) {
return $cached_output;
}