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
This commit is contained in:
Alex King 2003-11-04 08:47:40 +00:00
parent d35293bf39
commit ff147be1d8
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.