[BUGFIX] Fix PHP warning with CTYPE=media 91/33191/6
authorGoran Medakovic <avion.bg@gmail.com>
Tue, 7 Oct 2014 16:38:17 +0000 (18:38 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 8 Oct 2014 21:38:35 +0000 (23:38 +0200)
commit357c5dcb31664f7512dd9f5f5eec717553adb6ad
tree2aa0a7f9c44dd284efc47610ed8ebd6665c3eb95
parent5059981b809b9721fcf5c615ab0b3992a7894ee7
[BUGFIX] Fix PHP warning with CTYPE=media

Check for array type before checking the variable with isset().
If the variable is a string the isset() will cause a PHP warning.

Resolves: #59544
Releases: master, 6.2
Change-Id: I766292a3dc0365a40acff5fd5f089f7ea78e0b70
Reviewed-on: http://review.typo3.org/33191
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php