CC-5333 : Rebroadcast Shows are not created

This commit is contained in:
Naomi Aro 2013-09-20 16:35:46 +02:00
parent 0e20e5b50b
commit 4c6d96e062

View file

@ -194,7 +194,11 @@ class Application_Service_ShowService
$ccShows = array();
foreach ($ccShowDays as $day) {
$this->ccShow = $day->getCcShow();
$this->isRecorded = isset($this->isRecorded) ? $this->isRecorded : $this->ccShow->isRecorded();
$this->isRebroadcast = isset($this->isRebroadcast) ? $this->isRebroadcast : $this->ccShow->isRebroadcast();
if (!isset($ccShows[$day->getDbShowId()])) {
$ccShows[$day->getDbShowId()] = $day->getccShow();
}