mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
DirectorObjectForm: Fix copy paste type ranges. to vars.
This commit is contained in:
parent
edad30f0ac
commit
25f29b3acc
@ -247,7 +247,7 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
protected function addCustomVar($key, $range)
|
protected function addCustomVar($key, $range)
|
||||||
{
|
{
|
||||||
$this->addElement('text', 'var_' . $key, array(
|
$this->addElement('text', 'var_' . $key, array(
|
||||||
'label' => 'ranges.' . $key,
|
'label' => 'vars.' . $key,
|
||||||
'value' => $range->getValue()
|
'value' => $range->getValue()
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
@ -255,7 +255,7 @@ abstract class DirectorObjectForm extends QuickForm
|
|||||||
protected function addRange($key, $range)
|
protected function addRange($key, $range)
|
||||||
{
|
{
|
||||||
$this->addElement('text', 'range_' . $key, array(
|
$this->addElement('text', 'range_' . $key, array(
|
||||||
'label' => 'range.' . $key,
|
'label' => 'ranges.' . $key,
|
||||||
'value' => $range->timeperiod_value
|
'value' => $range->timeperiod_value
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user