This fixes a problem with the daily view not spanning enough rows

This commit is contained in:
skeeter 2001-03-20 02:34:39 +00:00
parent 45767449dc
commit 4409541de7

View File

@ -1106,14 +1106,11 @@ class calendar extends calendar_
$time[$ind] .= ' - ' . $phpgw->common->show_date($event->edatetime,$format);
$end_t_h = intval($phpgw->common->show_date($event->edatetime,'H'));
$end_t_m = intval($phpgw->common->show_date($event->edatetime,'i'));
if (end_t_m == 0)
{
$this->rowspan = $end_t_h - $ind;
}
else
if ($end_t_m > 0)
{
$this->rowspan = $end_t_h - $ind + 1;
$this->rowspan += 1;
}
if(isset($this->rowspan_arr[$ind]))