diff --git a/b2-include/b2template.functions.php b/b2-include/b2template.functions.php index 83a140507..35a08a846 100644 --- a/b2-include/b2template.functions.php +++ b/b2-include/b2template.functions.php @@ -229,7 +229,7 @@ function get_archives($type='', $limit='', $format='html', $before = "", $after } function get_calendar($daylength = 1) { - global $wpdb, $HTTP_GET_VARS, $m, $monthnum, $year, $timedifference, $month, $weekday, $tableposts; + global $wpdb, $HTTP_GET_VARS, $m, $monthnum, $year, $timedifference, $month, $weekday, $tableposts, $posts; $ak_use_tooltip_titles = 1; // set this to 1 to have the day's post titles as tooltips to the calendar date.