[BUGFIX] PHP warning

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