From 572e8a6a1f9dbc8e2a7ac0dc480689487b4217aa Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 29 May 2003 06:27:14 +0000 Subject: Fixed a tons of E_ALL errors for smoother installs. --- day.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'day.php') diff --git a/day.php b/day.php index dbd3bf1..89b6f21 100644 --- a/day.php +++ b/day.php @@ -33,7 +33,7 @@ $start_week_time = strtotime(dateOfWeek($getdate, $week_start_day)); $dayborder = 0; $nbrGridCols = 1; -if (is_array($master_array[($getdate)])) { +if (isset($master_array[($getdate)])) { foreach($master_array[($getdate)] as $ovlKey => $ovlValue) { if ($ovlKey != '-1') { foreach($ovlValue as $ovl2Value) { @@ -59,7 +59,7 @@ if (is_array($master_array[($getdate)])) { } ?> - + @@ -101,7 +101,7 @@ if (is_array($master_array[($getdate)])) { \n"; echo '
'."\n"; echo ''."\n"; @@ -179,7 +179,7 @@ if (is_array($master_array[($getdate)])) { } // add events that overlap $day_start instead of cutting them out completely - if ("$day_start" == "$cal_time" && is_array($master_array[$getdate])) { + if ("$day_start" == "$cal_time" && isset($master_array[$getdate])) { foreach($master_array[$getdate] as $time_key => $time_arr) { if ((int)$time_key < (int)$cal_time && is_array($time_arr) && $time_key != '-1') { foreach($time_arr as $event_tmp) { -- cgit v1.2.3