diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-27 11:42:41 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-27 11:42:41 +0000 |
commit | 195553ad26b4c8c3639041698309b47ae6d1b1f3 (patch) | |
tree | e430582dc5d10be89e03ff097614b12865c804e8 /functions/template.php | |
parent | 333f00a0225a94e94f4388937e1741e102c5b110 (diff) | |
download | phpicalendar-195553ad26b4c8c3639041698309b47ae6d1b1f3.tar.gz phpicalendar-195553ad26b4c8c3639041698309b47ae6d1b1f3.tar.bz2 phpicalendar-195553ad26b4c8c3639041698309b47ae6d1b1f3.zip |
do not check overlap on all day events -- yet
Diffstat (limited to 'functions/template.php')
-rw-r--r-- | functions/template.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functions/template.php b/functions/template.php index 969e7e7..95b0586 100644 --- a/functions/template.php +++ b/functions/template.php @@ -914,6 +914,7 @@ class Page { if ($type != 'small') { foreach ($master_array[$daylink] as $cal_time => $event_times) { foreach ($event_times as $uid => $val) { + if (!isset($val['calnumber'])) continue; $event_calno = $val['calnumber']; $event_calno = (($event_calno - 1) % $unique_colors) + 1; if ($cal_time == -1) { |