[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])) {
|
||||
continue;
|
||||
}
|
||||
if (method_exists($argument->getValue(), 'getUid')) {
|
||||
if (is_string($argument->getValue()) && method_exists($argument->getValue(), 'getUid')) {
|
||||
$pluginArguments[$argument->getName()]
|
||||
= $argument->getValue()->getUid();
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user