mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
This fixes a problem with the daily view not spanning enough rows
This commit is contained in:
parent
45767449dc
commit
4409541de7
@ -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]))
|
||||
|
Loading…
Reference in New Issue
Block a user