SecurityForm: replace `customvars' with `protected_customvars'

refs #6641
This commit is contained in:
Alexander Klimov 2014-08-19 14:51:30 +02:00
parent 65473ac8ee
commit 3e079efe2a
1 changed files with 3 additions and 3 deletions

View File

@ -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']
));
}
}