summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2005-09-05 21:12:20 +0000
committerLester Caine <lester@lsces.co.uk>2005-09-05 21:12:20 +0000
commit26d1b2e80ca7f0a41c425002357e33384ce59044 (patch)
tree30678af7d3d99d60c6c308daf222a95ddd399cf8 /index.php
parent78a7493f0adbcb0931f815b0878a5c54d6844bfc (diff)
downloadcalendar-26d1b2e80ca7f0a41c425002357e33384ce59044.tar.gz
calendar-26d1b2e80ca7f0a41c425002357e33384ce59044.tar.bz2
calendar-26d1b2e80ca7f0a41c425002357e33384ce59044.zip
Missed key element of making time shift work
Diffstat (limited to 'index.php')
-rw-r--r--index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index da814b5..7d9e243 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.33 2005/09/05 17:28:41 lsces Exp $
+// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.34 2005/09/05 21:12:20 lsces Exp $
// Copyright( c ) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
@@ -73,9 +73,9 @@ if( $_SESSION['calendar']['content_type_guid'] ) {
foreach( $calMonth as $w => $week ) {
foreach( $week as $d => $day ) {
$dayEvents = array();
- if( !empty( $bitEvents[$day['day']] ) ) {
+ if( !empty( $bitEvents[$day['day'] - $gCalendar->mDate->get_display_offset()] ) ) {
$i = 0;
- foreach( $bitEvents[$day['day']] as $bitEvent ) {
+ foreach( $bitEvents[$day['day'] - $gCalendar->mDate->get_display_offset()] as $bitEvent ) {
$dayEvents[$i] = $bitEvent;
$gBitSmarty->assign( 'cellHash', $bitEvent );
$dayEvents[$i]["over"] = $gBitSmarty->fetch( "bitpackage:calendar/calendar_box.tpl" );