From 536c539b3b093f9e9481377d87099fdaaf68eb18 Mon Sep 17 00:00:00 2001 From: alex_t_king Date: Tue, 4 Nov 2003 08:47:40 +0000 Subject: [PATCH] added global 'posts' since we check for it before showing the calendar git-svn-id: http://svn.automattic.com/wordpress/trunk@522 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- b2-include/b2template.functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.