mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
parent
70dfc9dae9
commit
2aea3ad966
@ -322,10 +322,10 @@ class ImportSource extends DbObjectWithSettings implements ExportInterface
|
||||
|
||||
$target = $modifier->getTargetProperty($key);
|
||||
if (strpos($target, '.') !== false) {
|
||||
throw new InvalidArgumentException(
|
||||
throw new InvalidArgumentException(sprintf(
|
||||
'Cannot set value for nested key "%s"',
|
||||
$target
|
||||
);
|
||||
));
|
||||
}
|
||||
|
||||
if (is_array($value) && ! $modifier->hasArraySupport()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user