Fix free-busy slot comparison
This commit is contained in:
parent
021f8b51e8
commit
d569b020f4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue