PropertyModifierLConfCustomVar: trim left side
This commit is contained in:
parent
a7ff250ecd
commit
ff4e953a11
|
@ -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 New Issue