From 1625cc6a25525e47e7b7ad5ebbc762597bc8f727 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 8 Jun 2012 15:14:30 -0400 Subject: [PATCH] CC-3948: Dashboard -> Source Info panel: Cannot turn off source if source is disconnect. - fixed --- airtime_mvc/application/controllers/DashboardController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airtime_mvc/application/controllers/DashboardController.php b/airtime_mvc/application/controllers/DashboardController.php index 31d820f11..6a8c2995b 100644 --- a/airtime_mvc/application/controllers/DashboardController.php +++ b/airtime_mvc/application/controllers/DashboardController.php @@ -53,7 +53,7 @@ class DashboardController extends Zend_Controller_Action $show_id = isset($show[0]['id'])?$show[0]['id']:0; $source_connected = Application_Model_Preference::GetSourceStatus($sourcename); - if($user->canSchedule($show_id) && ($source_connected || $sourcename == 'scheduled_play')){ + if($user->canSchedule($show_id) && ($source_connected || $sourcename == 'scheduled_play' || $current_status == "on")){ $change_status_to = "on";