[BUGFIX] Fix handling of TCA allowed flag in ElementBrowser 39/36439/2
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:58 +0000 (16:21 +0100)
commite025a1653c07f6ae7df2e8a11aa1e742b880d54b
tree6f41272c83917a5ae54a0539c46b901cc4c6a83d
parent772102dd462b8f4ef7763fb7cbd7b0e7e687795b
[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.

Change-Id: I63016050a80c4f9d9bc0a4cd7c0dc7523ad9f58f
Resolves: #54504
Documentation: #64609
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/36439
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe <philipp.gampe@typo3.org>
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php