[BUGFIX] Fix thrown \InvalidArgumentException in access module 18/54718/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 21 Nov 2017 07:10:55 +0000 (08:10 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 21 Nov 2017 22:10:50 +0000 (23:10 +0100)
commit393bc3f6c1b55472da701291c932fade3bec3194
treecea6498e0023e7105465a3144af2b36e4078e0e3
parent02303de415f5f6353d3c15b5264b50b43792eba7
[BUGFIX] Fix thrown \InvalidArgumentException in access module

The returnUrl is not available if the access module is accessed via
context menu of the page tree. The module now checks whether the
returnUrl is available and renders the close button only in such case.

Resolves: #83053
Releases: master, 8.7
Change-Id: I37c5c65c1505b42acf7ac734fbc7a9f53629a6a1
Reviewed-on: https://review.typo3.org/54718
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/beuser/Classes/Controller/PermissionController.php