summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-08-21 00:23:02 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-08-21 00:23:02 +0000
commit8785372c344c4bbc0fafcc1456aee2b738d263f1 (patch)
tree788a4ebac0556cd8f3c0e6617fd926eacb7be6da /index.php
parent98f080ab75c09013bea9fb1e7c64b573520cf179 (diff)
downloadcalendar-8785372c344c4bbc0fafcc1456aee2b738d263f1.tar.gz
calendar-8785372c344c4bbc0fafcc1456aee2b738d263f1.tar.bz2
calendar-8785372c344c4bbc0fafcc1456aee2b738d263f1.zip
oops, wrong commit earlier
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 6308f3c..c2c970b 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
<?php
-// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.18 2005/08/21 00:21:50 squareing Exp $
+// $Header: /cvsroot/bitweaver/_bit_calendar/index.php,v 1.19 2005/08/21 00:23:02 squareing 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.
@@ -77,7 +77,7 @@ if( $_SESSION['calendar']['view_mode'] == 'day' ) {
// allow for custom time intervals
$hour_fraction = $gBitSystem->getPreference( 'calendar_hour_fraction', 1 );
$row_count = $hours_count * $hour_fraction;
- $hour = strftime( '%H', $start ) - 1;
+ $hour = strftime( '%H', $start_time ) - 1;
$mins = 0;
for( $i = 0; $i < $row_count; $i++ ) {
if( !( $i % $hour_fraction ) ) {