mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
fixed logic bug
|| ==> && :)
This commit is contained in:
parent
8bb9dae966
commit
651e3b54a9
@ -758,10 +758,11 @@
|
||||
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) {
|
||||
if ($l_end['hour'] == 24 && $l_end['min'] == 0)
|
||||
{
|
||||
$l_end['hour'] = 23;
|
||||
$l_end['min'] = 59;
|
||||
}
|
||||
}
|
||||
|
||||
if(isset($_GET['readsess']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user