forked from extern/egroupware
fixed logic bug
|| ==> && :)
This commit is contained in:
parent
8bb9dae966
commit
651e3b54a9
@ -758,10 +758,11 @@
|
|||||||
print_debug('ID',$l_cal['id']);
|
print_debug('ID',$l_cal['id']);
|
||||||
|
|
||||||
// don't wrap to the next day for no time
|
// 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['hour'] = 23;
|
||||||
$l_end['min'] = 59;
|
$l_end['min'] = 59;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($_GET['readsess']))
|
if(isset($_GET['readsess']))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user