[BUGFIX] Adapt Argument php 8
This commit is contained in:
parent
c191e6e635
commit
dede4d0efa
@ -585,7 +585,7 @@ class ActionController extends BaseController
|
|||||||
if (in_array($argument->getName(), ['step', 'submit', $object])) {
|
if (in_array($argument->getName(), ['step', 'submit', $object])) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (method_exists($argument->getValue(), 'getUid')) {
|
if (is_string($argument->getValue()) && method_exists($argument->getValue(), 'getUid')) {
|
||||||
$pluginArguments[$argument->getName()]
|
$pluginArguments[$argument->getName()]
|
||||||
= $argument->getValue()->getUid();
|
= $argument->getValue()->getUid();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user