SecurityForm: replace `customvars' with `protected_customvars'
refs #6641
This commit is contained in:
parent
65473ac8ee
commit
3e079efe2a
|
@ -23,11 +23,11 @@ class SecurityForm extends Form
|
|||
{
|
||||
$this->addElement(
|
||||
'text',
|
||||
'customvars',
|
||||
'protected_customvars',
|
||||
array(
|
||||
'label' => 'Protected Custom Variables',
|
||||
'required' => true,
|
||||
'value' => $this->config->customvars
|
||||
'value' => $this->config->protected_customvars
|
||||
)
|
||||
);
|
||||
$this->setSubmitLabel('{{SAVE_ICON}} Save');
|
||||
|
@ -50,7 +50,7 @@ class SecurityForm extends Form
|
|||
{
|
||||
$values = $this->getValues();
|
||||
return new Zend_Config(array(
|
||||
'customvars' => $values['customvars']
|
||||
'protected_customvars' => $values['protected_customvars']
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue