Correct conditional that catches conflicts.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 21 Sep 2009 23:53:27 +0000 (19:53 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 29 Sep 2009 20:54:01 +0000 (16:54 -0400)
Allow the next event to start at the end time of the previous event.

kronolith/lib/Resource/Single.php

index dbb1b12..c9c6438 100644 (file)
@@ -60,6 +60,7 @@ class Kronolith_Resource_Single extends Kronolith_Resource_Base
                      // the previous event ends.
                      if (!($e->start->compareDateTime($end) >= 0) &&
                          !($e->end->compareDateTime($start) <= 0)) {
+
                         return false;
                      }
                 }