Closed dennismetz closed 1 year ago
Actually this introduced an other bug.
In the case $params['row']['uid']
is not set, it does not return early and continues with the rest of the function.
So either
a) !isset($params['row']['uid']) || !MathUtility::canBeInterpretedAsInteger($params['row']['uid'])
b) !MathUtility::canBeInterpretedAsInteger($params['row']['uid'] ?? '')
would be correct here.
Thanks for fix to Null Coalescing Operator @okmiim Regards, Tim
Thanks @dennismetz for the fix.
Next time, feel free to use the Null Coalescing Operator instead of isset. I will check this for the complete extension shortly and will migrate the isset.
Regards, Tim