mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-08-15 23:08:11 +02:00
IcingaObjectFieldLoader: silently ignore setValues
...when called for an object without custom var support
This commit is contained in:
parent
baf0d40ea6
commit
edbda2c592
@ -45,6 +45,10 @@ class IcingaObjectFieldLoader
|
||||
*/
|
||||
public function setValues($values, $prefix = null)
|
||||
{
|
||||
if (! $this->object->supportsCustomVars()) {
|
||||
return $this;
|
||||
}
|
||||
|
||||
if ($prefix !== null) {
|
||||
$len = strlen($prefix);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user