PropertyModifierLConfCustomVar: trim left side

This commit is contained in:
Thomas Gelf 2017-03-09 08:52:19 +01:00
parent a7ff250ecd
commit ff4e953a11
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}