diff --git a/airtime_mvc/application/controllers/ScheduleController.php b/airtime_mvc/application/controllers/ScheduleController.php index d78ae2719..e061d3d5d 100644 --- a/airtime_mvc/application/controllers/ScheduleController.php +++ b/airtime_mvc/application/controllers/ScheduleController.php @@ -825,13 +825,11 @@ class ScheduleController extends Zend_Controller_Action $this->view->newForm = $this->view->render( 'schedule/add-show-form.phtml'); Logging::debug("Show creation succeeded"); - Logging::debug_sparse( $data ); } else { $this->view->addNewShow = true; $this->view->form = $this->view->render( 'schedule/add-show-form.phtml'); Logging::debug("Show creation failed"); - Logging::debug_sparse( $data ); } } diff --git a/airtime_mvc/application/models/ShowBuilder.php b/airtime_mvc/application/models/ShowBuilder.php index bc1cdccbb..e1e2382aa 100644 --- a/airtime_mvc/application/models/ShowBuilder.php +++ b/airtime_mvc/application/models/ShowBuilder.php @@ -133,7 +133,8 @@ class Application_Model_ShowBuilder */ private function getScheduledStatus($p_epochItemStart, $p_epochItemEnd, &$row) { - if ($row["footer"] === true && $this->epoch_now > $p_epochItemStart && $this->epoch_now > $p_epochItemEnd) { + if ($row["footer"] === true && $this->epoch_now > $p_epochItemStart && + $this->epoch_now > $p_epochItemEnd) { $row["scheduled"] = 0; } elseif ($row["footer"] === true && $this->epoch_now < $p_epochItemEnd) { $row["scheduled"] = 2;