CC-4562: Calendar: Add Show button is removed after editing a show from regular show to repeating show
-fixed
This commit is contained in:
parent
5ff89eeba2
commit
9d3271c03d
|
@ -784,7 +784,10 @@ class ScheduleController extends Zend_Controller_Action
|
|||
|
||||
if ($success) {
|
||||
$scheduler = new Application_Model_Scheduler();
|
||||
$scheduler->removeGaps($data['add_show_instance_id']);
|
||||
$showInstances = CcShowInstancesQuery::create()->filterByDbShowId($data['add_show_id'])->find();
|
||||
foreach ($showInstances as $si) {
|
||||
$scheduler->removeGaps($si->getDbId());
|
||||
}
|
||||
$this->view->addNewShow = true;
|
||||
$this->view->newForm = $this->view->render('schedule/add-show-form.phtml');
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue