DirectorObjectForm: Fix copy paste type ranges. to vars.

This commit is contained in:
Alexander Fuhr 2015-07-02 14:53:20 +02:00
parent edad30f0ac
commit 25f29b3acc

View File

@ -247,7 +247,7 @@ abstract class DirectorObjectForm extends QuickForm
protected function addCustomVar($key, $range)
{
$this->addElement('text', 'var_' . $key, array(
'label' => 'ranges.' . $key,
'label' => 'vars.' . $key,
'value' => $range->getValue()
));
}
@ -255,7 +255,7 @@ abstract class DirectorObjectForm extends QuickForm
protected function addRange($key, $range)
{
$this->addElement('text', 'range_' . $key, array(
'label' => 'range.' . $key,
'label' => 'ranges.' . $key,
'value' => $range->timeperiod_value
));
}