mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +02:00
ipl\Html\Form: use value name, not index
This commit is contained in:
parent
0931c1df91
commit
77543371b7
2
library/vendor/ipl/Html/Form.php
vendored
2
library/vendor/ipl/Html/Form.php
vendored
@ -162,7 +162,7 @@ class Form extends BaseHtmlElement
|
||||
$values = [];
|
||||
foreach ($this->getElements() as $element) {
|
||||
if (! $element->isIgnored()) {
|
||||
$values[] = $element->getValue();
|
||||
$values[$element->getName()] = $element->getValue();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user