minor code clean-up

This commit is contained in:
Robb Ebright 2017-03-16 22:30:08 -04:00
parent 1a9daa52dd
commit 9fe31a5923
2 changed files with 44 additions and 47 deletions

View file

@ -264,6 +264,7 @@ class PreferenceController extends Zend_Controller_Action
// pulling this from the 2.5.x branch
if (!Application_Model_Preference::GetMasterDjConnectionUrlOverride()) {
$master_connection_url = "http://".$_SERVER['SERVER_NAME'].":".$values["master_source_port"].$values["master_source_mount"];
if (empty($values["master_source_port"]) || empty($values["master_source_port"])) {
Application_Model_Preference::SetMasterDJSourceConnectionURL('N/A');
} else {