CC-5696: Two shows or even three shows playing at once. Unstopable even after reboot
The problem was that we weren't updating the first show's start time if deleting a repeat show day changes it. This affected the difference between the original show start time and the new one.
This commit is contained in:
parent
f1658f6490
commit
753003639f
2 changed files with 10 additions and 0 deletions
|
@ -47,6 +47,9 @@ class CcShow extends BaseCcShow {
|
|||
*/
|
||||
public function getFirstCcShowDay($criteria = null, PropelPDO $con = null)
|
||||
{
|
||||
CcShowPeer::clearInstancePool();
|
||||
CcShowPeer::clearRelatedInstancePool();
|
||||
|
||||
if(null === $this->collCcShowDayss || null !== $criteria) {
|
||||
if ($this->isNew() && null === $this->collCcShowDayss) {
|
||||
// return empty collection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue