\XF\ControllerPlugin\Error::actionNoPermission required parameter (1 Viewer)

L

Lukas W.

Guest
\XF\ControllerPlugin\Error::actionNoPermission labels $message as required parameter, however the code flow supports the parameter to be set as false or null and will fallback to a default message in those cases. Strictly speaking not necessarily a bug I guess, but would be nice to declare the $message parameter as null by default to avoid having to explicitly pass a parameter.

Continue reading...
 
Top