This fix a problem where the request is null and the whole function addFromCurrentRequest will end in an "Call to a member function all() on null"-error.
@zonky2 and @discordier: I think we have to check all request calls for this error. This error happens, because I call the list module over the console, 'cause I create a PDF out of it.
Description
This fix a problem where the request is null and the whole function addFromCurrentRequest will end in an "Call to a member function all() on null"-error.
@zonky2 and @discordier: I think we have to check all request calls for this error. This error happens, because I call the list module over the console, 'cause I create a PDF out of it.
Checklist
@authors
in touched PHP files