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
This commit is contained in:
alex_t_king 2003-11-04 08:47:40 +00:00
parent 785753c40e
commit 536c539b3b
1 changed files with 1 additions and 1 deletions

View File

@ -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.