IcingaObject: fix variable names on setting vars.x

This commit is contained in:
Thomas Gelf 2016-02-22 15:19:26 +01:00
parent 990b7934f2
commit 1f869fa001
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
return $this;
} elseif (substr($key, 0, 5) === 'vars.') {
//TODO: allow for deep keys
$this->vars()->set(substr($k, 5), $v);
$this->vars()->set(substr($key, 5), $value);
return $this;
}