diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/filter/filter.module | 2 | ||||
-rw-r--r-- | modules/locale/locale.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 337ecfaee..b3303fc36 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -777,7 +777,7 @@ function check_markup($text, $format = FILTER_FORMAT_DEFAULT, $check = TRUE) { // Store in cache with a minimum expiration time of 1 day. if ($cache) { - cache_set($id, 'cache_filter', $text, time() + (60 * 60 * 24)); + cache_set($id, $text, 'cache_filter', time() + (60 * 60 * 24)); } } else { diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 3eecc4562..a3d0438d3 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -268,7 +268,7 @@ function locale_refresh_cache() { while ($data = db_fetch_object($result)) { $t[$data->source] = (empty($data->translation) ? TRUE : $data->translation); } - cache_set('locale:'. $language->language, 'cache', serialize($t)); + cache_set('locale:'. $language->language, serialize($t)); } } |