mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
PropertyModifierLConfCustomVar: trim left side
This commit is contained in:
parent
a7ff250ecd
commit
ff4e953a11
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class PropertyModifierLConfCustomVar extends PropertyModifierHook
|
|||
protected function extractLConfVar($value, $vars)
|
||||
{
|
||||
list($key, $val) = preg_split('/ /', $value, 2);
|
||||
$key = rtrim($key, '_');
|
||||
$key = ltrim($key, '_');
|
||||
$vars->$key = $val;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue