CC-4094: Dashboard -> Source Info panel: DJ assigned to current show can turn off the Master Resouce but cannot disconnect it.
- fixed
This commit is contained in:
parent
b6f447a827
commit
54b6b12ec0
2 changed files with 3 additions and 7 deletions
|
@ -25,9 +25,7 @@ class DashboardController extends Zend_Controller_Action
|
|||
$user = new Application_Model_User($userInfo->id);
|
||||
|
||||
$show = Application_Model_Show::getCurrentShow();
|
||||
|
||||
$show_id = isset($show['id'])?$show['id']:0;
|
||||
|
||||
$show_id = isset($show[0]['id'])?$show[0]['id']:0;
|
||||
$source_connected = Application_Model_Preference::GetSourceStatus($sourcename);
|
||||
|
||||
if ($user->canSchedule($show_id) && $source_connected) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue