[BUGFIX] Fix handling of TCA allowed flag in ElementBrowser 92/36392/4
authorSascha Egerer <sascha.egerer@dkd.de>
Thu, 29 Jan 2015 23:23:19 +0000 (00:23 +0100)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Fri, 30 Jan 2015 15:21:06 +0000 (16:21 +0100)
commit16cce4343ab9b8f566b3f6d34208a90406ba4c27
treee3a764fda79c9290d897697cb2d1b52cfb52d9b3
parent87e542c2b98d5af0d5a5126be1317fee5cfc65d4
[BUGFIX] Fix handling of TCA allowed flag in ElementBrowser

If the 'allowed' flag in the element browser contains a '*', which
means any type of file, no file is displayed. This is because a filter
is added that only files are displayed that have a '*' as file ext.

The filter should not be added if the allowed value is '*' or empty.

Resolves: #54504
Documentation: #64609
Releases: master, 6.2
Change-Id: I941566dd51284ecaaa92b42e6e59988c884d91c1
Reviewed-on: http://review.typo3.org/36392
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php