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

View File

@ -23,11 +23,11 @@ class SecurityForm extends Form
{ {
$this->addElement( $this->addElement(
'text', 'text',
'customvars', 'protected_customvars',
array( array(
'label' => 'Protected Custom Variables', 'label' => 'Protected Custom Variables',
'required' => true, 'required' => true,
'value' => $this->config->customvars 'value' => $this->config->protected_customvars
) )
); );
$this->setSubmitLabel('{{SAVE_ICON}} Save'); $this->setSubmitLabel('{{SAVE_ICON}} Save');
@ -50,7 +50,7 @@ class SecurityForm extends Form
{ {
$values = $this->getValues(); $values = $this->getValues();
return new Zend_Config(array( return new Zend_Config(array(
'customvars' => $values['customvars'] 'protected_customvars' => $values['protected_customvars']
)); ));
} }
} }