X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/81c24846e34881b05745a24bd4236eed68a42a69..1b24cfa05c059a98376c1be397fc3f6c0df47fd1:/Entity/Session.php diff --git a/Entity/Session.php b/Entity/Session.php index 20d50dd..e746171 100644 --- a/Entity/Session.php +++ b/Entity/Session.php @@ -191,7 +191,8 @@ class Session { $this->start = clone $this->date; //Check if after slot - if ($this->slot->getTitle() == 'After') { + //XXX: id=4 <=> title=After + if ($this->slot->getId() == 4) { //Add one day $this->start->add(new \DateInterval('P1D')); }