Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add inherited doc
[airbundle]
/
Entity
/
Session.php
diff --git
a/Entity/Session.php
b/Entity/Session.php
index 20d50ddc8c2bbfa9fa9dfd6f050025aab08ed30c..e7461711fdd30ff8ae3143ccb8524d5f9c1a7b5b 100644
(file)
--- a/
Entity/Session.php
+++ b/
Entity/Session.php
@@
-191,7
+191,8
@@
class Session {
$this->start = clone $this->date;
//Check if after slot
$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'));
}
//Add one day
$this->start->add(new \DateInterval('P1D'));
}