If an appointment ends at 24:00, don't show it on the next day going from

00:00 till 00:00
This commit is contained in:
Carsten Wolff 2003-12-02 19:16:31 +00:00
parent e6fdb028ab
commit ca4fd40dd9

View File

@ -757,6 +757,12 @@
}
print_debug('ID',$l_cal['id']);
// don't wrap to the next day for no time
if ($l_end['hour'] == 24 || $l_end['min'] == 0) {
$l_end['hour'] = 23;
$l_end['min'] = 59;
}
if(isset($_GET['readsess']))
{
$event = $this->restore_from_appsession();