mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34: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 = [];
|
$values = [];
|
||||||
foreach ($this->getElements() as $element) {
|
foreach ($this->getElements() as $element) {
|
||||||
if (! $element->isIgnored()) {
|
if (! $element->isIgnored()) {
|
||||||
$values[] = $element->getValue();
|
$values[$element->getName()] = $element->getValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user