[BUGFIX] TYPO3 6.1 compatibility fix

Change-Id: Ia15e57c9ca6fa45d0d0e01fdc8c9940aa69a8137
Reviewed-on: https://review.typo3.org/27313
Reviewed-by: Stefan Rotsch
Tested-by: Stefan Rotsch