summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 77aa900b9..bb7a020cd 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -1405,7 +1405,7 @@ function l($text, $path, $options = array()) {
* react to the closing of the page by calling hook_exit().
*/
function drupal_page_footer() {
- if (variable_get('cache', 0)) {
+ if (variable_get('cache', CACHE_DISABLED) != CACHE_DISABLED) {
page_set_cache();
}