CC-3519: System-> Stream> Problem with Master DJ Port and DJ Port settings
- fixed a bug when master and dj port are both empty, it was returnning error
This commit is contained in:
parent
2bb9b03b19
commit
ac35ba5a93
|
@ -127,7 +127,7 @@ class Application_Form_LiveStreamingPreferences extends Zend_Form_SubForm
|
|||
$master_harbor_input_port = $data['master_harbor_input_port'];
|
||||
$dj_harbor_input_port = $data['dj_harbor_input_port'];
|
||||
|
||||
if($master_harbor_input_port == $dj_harbor_input_port){
|
||||
if($master_harbor_input_port == $dj_harbor_input_port && $master_harbor_input_port != ""){
|
||||
$element = $this->getElement("dj_harbor_input_port");
|
||||
$element->addError("You cannot use same port as Master DJ port.");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue