X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/666f2659c61898eb5707aca424f7c89c835261df..29dd08c7814df29e7ee9acf1e49d52ec6b7151cc:/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')); }