[BUGFIX] Possible PHP notice

Change-Id: I7b70ba36a5ff49c64323facd7034abee39a7e3ec
Reviewed-on: https://review.typo3.org/29391
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers