mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Fix that updating INI repositories is impossible
This commit is contained in:
parent
852c571bac
commit
d5de7e9868
@ -302,7 +302,9 @@ abstract class IniRepository extends Repository implements Extensible, Updatable
|
||||
$newConfig = clone $config;
|
||||
foreach ($newData as $column => $value) {
|
||||
if ($column === $keyColumn) {
|
||||
$newSection = $value;
|
||||
if ($value !== $config->get($keyColumn)) {
|
||||
$newSection = $value;
|
||||
}
|
||||
} else {
|
||||
$newConfig->$column = $value;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user