From 333f00a0225a94e94f4388937e1741e102c5b110 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Sat, 27 Dec 2008 10:58:50 +0000 Subject: rewrite and condense master array writing in end_vevent.php. Condense draw_week in template.php. bump vers --- functions/init/configs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions/init') diff --git a/functions/init/configs.php b/functions/init/configs.php index 5d5a9c9..f94c47b 100644 --- a/functions/init/configs.php +++ b/functions/init/configs.php @@ -45,7 +45,7 @@ while ($fillTime < $phpiCal_config->day_end) { $fill_h = $dTime[1]; $fill_min = $dTime[2]; $fill_min = sprintf('%02d', $fill_min + $phpiCal_config->gridLength); - if ($fill_min == 60) { + if ($fill_min >= 60) { $fill_h = sprintf('%02d', ($fill_h + 1)); $fill_min = '00'; } -- cgit v1.2.3