fixed logic bug

|| ==> &&    :)
This commit is contained in:
Lars Kneschke 2003-12-09 02:30:35 +00:00
parent 8bb9dae966
commit 651e3b54a9

View File

@ -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']))
{