diff --git a/modules/archive.module b/modules/archive.module index a8a5e0cb8cef6b47bf2f80af2c60522c76ded1c7..3458b37619316d36164b4fd79c7fe6ff1b0a3cdf 100644 --- a/modules/archive.module +++ b/modules/archive.module @@ -58,7 +58,7 @@ function archive_calendar($original = 0) { $end_of_month = mktime(23, 59, 59, $month, $last, $year); - $cache = cache_get("archive:calendar:$start_of_month"); + $cache = cache_get("archive:calendar:$day-$month-$year"); if (!empty($cache)) { return $cache->data; @@ -159,7 +159,7 @@ function archive_calendar($original = 0) { $output .= "\n\n"; - cache_set("archive:calendar:$start_of_month", $output, 1); + cache_set("archive:calendar:$day-$month-$year", $output, 1); return $output; }