This commit is contained in:
Martin Konecny 2013-03-22 18:05:49 -04:00
parent d12f793578
commit b1160afeab
1 changed files with 3 additions and 6 deletions

View File

@ -247,12 +247,9 @@ class PreferenceController extends Zend_Controller_Action
/* If the admin password values are empty then we should not /* If the admin password values are empty then we should not
* set the pseudo password ('xxxxxx') on the front-end * set the pseudo password ('xxxxxx') on the front-end
*/ */
$s1_set_admin_pass = true; $s1_set_admin_pass = !empty($values["s1_data"]["admin_pass"]);
$s2_set_admin_pass = true; $s2_set_admin_pass = !empty($values["s2_data"]["admin_pass"]);
$s3_set_admin_pass = true; $s3_set_admin_pass = !empty($values["s3_data"]["admin_pass"]);
if (empty($values["s1_data"]["admin_pass"])) $s1_set_admin_pass = false;
if (empty($values["s2_data"]["admin_pass"])) $s2_set_admin_pass = false;
if (empty($values["s3_data"]["admin_pass"])) $s3_set_admin_pass = false;
// this goes into cc_pref table // this goes into cc_pref table
Application_Model_Preference::SetStreamLabelFormat($values['streamFormat']); Application_Model_Preference::SetStreamLabelFormat($values['streamFormat']);