From ff147be1d8cb9aab2e06b1ac7d30a4f0067677fb Mon Sep 17 00:00:00 2001 From: Alex 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: https://develop.svn.wordpress.org/trunk@522 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 83a1405078..35a08a8464 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.