Allow dot-notation for specifying external parameters for a component (#4978)
This commit is contained in:
parent
cca8da2af3
commit
96c062bb47
|
|
@ -1538,7 +1538,7 @@ class Controller
|
|||
$newPropertyValue = $routerParameters[$routeParamName] ?? null;
|
||||
}
|
||||
else {
|
||||
$newPropertyValue = $parameters[$paramName] ?? null;
|
||||
$newPropertyValue = array_get($parameters, $paramName, null);
|
||||
}
|
||||
|
||||
$component->setProperty($propertyName, $newPropertyValue);
|
||||
|
|
|
|||
Loading…
Reference in New Issue