From d569b020f41b7bc0b179e21830c14f9390af2f7f Mon Sep 17 00:00:00 2001 From: Thomas Broderli Date: Thu, 28 Jul 2011 11:43:35 +0200 Subject: [PATCH] Fix free-busy slot comparison --- plugins/calendar/calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/calendar/calendar.php b/plugins/calendar/calendar.php index f396c23c..757bcf9c 100644 --- a/plugins/calendar/calendar.php +++ b/plugins/calendar/calendar.php @@ -1282,7 +1282,7 @@ class calendar extends rcube_plugin $status = self::FREEBUSY_FREE; foreach ($fblist as $slot) { list($from, $to, $type) = $slot; - if ($from <= $t_end && $to > $t) { + if ($from < $t_end && $to > $t) { $status = isset($type) ? $type : self::FREEBUSY_BUSY; break; }