From db58cafdb605dcf6d091ed0378257e4a42e6f1f2 Mon Sep 17 00:00:00 2001 From: jwangen Date: Sun, 6 Oct 2002 12:04:18 +0000 Subject: A few language updates, --- day.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'day.php') diff --git a/day.php b/day.php index de43161..8d46d1c 100644 --- a/day.php +++ b/day.php @@ -40,7 +40,7 @@ $thisday2 = localizeDate($dateFormat_week_list, $unix_time); $dayborder = 0; $nbrGridCols = 1; -if ($master_array[($getdate)]) { +if (is_array($master_array[($getdate)])) { foreach($master_array[($getdate)] as $ovlKey => $ovlValue) { if ($ovlKey != '-1') { foreach($ovlValue as $ovl2Value) { @@ -179,6 +179,8 @@ if ($master_array[($getdate)]) { for ($i=0;$i'; $drawWidth = $nbrGridCols / ($event_length[$i]['overlap'] + 1); + //print $nbrGridCols.' -- '; + //print $drawWidth; $emptyWidth = $emptyWidth - $drawWidth; switch ($event_length[$i]['state']) { case 'begin': -- cgit v1.2.3