41512 - Fixed issue on 404 pages
1. Why is this change necessary?
It's a bug fix.
2. What does this change do, exactly?
It refuses further check when the $currentController variable is null.
3. Describe each step to reproduce the issue or behavior.
- Install & activate the plugin
- Enable production mode & enable 404 page
- Open any site that does not exists
- An exception page should be shown
- Apply this fix
- The 404 page should be shown
4. Please link to the relevant issues (if any).
https://redmine.netinventors.de/issues/41512
5. Checklist
-
I have updated the plugin version and changelog -
I can confirm the code style fits our requirements -
I can confirm that no debug output is generated anywhere -
I have changed the required NetiFoundation-version to the latest available version