[BUGFIX] Fix PHP warning with CTYPE=media 12/33212/2
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:40:25 +0000 (23:40 +0200)
commit4abc93d0cf16daabd90a08e82e928a1f6d7da103
tree0d7d36d483dc738c71e1413233e65ee3271acfab
parentdc58e23aee014f23244936f9b3588da06bcbf625
[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/33212
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php