SAAS-67: "Hardware Audio Out" shows when SaaS is enabled
- "Hardware Audio Out" is not visible when plan-level is not diabled
This commit is contained in:
parent
20fc49b7be
commit
68f142470a
2 changed files with 6 additions and 2 deletions
|
@ -160,8 +160,10 @@ class PreferenceController extends Zend_Controller_Action
|
|||
|
||||
$num_of_stream = intval(Application_Model_Preference::GetNumOfStreams());
|
||||
$form = new Application_Form_StreamSetting();
|
||||
$form->setSetting($setting);
|
||||
$form->startFrom();
|
||||
if(Application_Model_Preference::GetPlanLevel() == 'disabled'){
|
||||
$form->setSetting($setting);
|
||||
$form->startFrom();
|
||||
}
|
||||
for($i=1; $i<=$num_of_stream; $i++){
|
||||
$subform = new Application_Form_StreamSettingSubForm();
|
||||
$subform->setPrefix($i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue