[BUGFIX] Adapt Argument php 8

This commit is contained in:
wadichaabene 2025-01-31 21:42:13 +01:00
parent c191e6e635
commit dede4d0efa

View File

@ -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 {