sonnb
Well-known member
An error will be thrown if we do not provide $paramName for function resolveActionWithIntegerParam in Route Prefix
For example: If I use this code:
When I access the controller will special action "controller/a.b.c", it will throw an error like this:
This is because the $paramName is empty. I think XenForo will catch this case and will not throw an error here.
For example: If I use this code:
PHP:
$action = $router->resolveActionWithIntegerParam($routePath, $request, '');
When I access the controller will special action "controller/a.b.c", it will throw an error like this:
This is because the $paramName is empty. I think XenForo will catch this case and will not throw an error here.
Last edited: