From 651e3b54a9bc54dcf72c68a2cf366e4a023ca9c0 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Tue, 9 Dec 2003 02:30:35 +0000 Subject: [PATCH] fixed logic bug || ==> && :) --- calendar/inc/class.bocalendar.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.bocalendar.inc.php b/calendar/inc/class.bocalendar.inc.php index 868eb3afa6..af9a964b69 100755 --- a/calendar/inc/class.bocalendar.inc.php +++ b/calendar/inc/class.bocalendar.inc.php @@ -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'])) {