[BUGFIX] Uncaught exception if editor has no file mount 57/25357/3
authorMarkus Klein <klein.t3@mfc-linz.at>
Wed, 13 Nov 2013 01:19:43 +0000 (02:19 +0100)
committerSteffen Ritter <info@rs-websystems.de>
Wed, 18 Dec 2013 14:19:09 +0000 (15:19 +0100)
commitfaeb2528ec1f4989f452262793e7881a25cd1147
tree7e15c901944df1d733ad7dddf820cfec40be3afe
parentbc038aa57bd262bc3462fdb964e8b44fa9d6db61
[BUGFIX] Uncaught exception if editor has no file mount

If an editor has got no file mounts, an uncaught exception
is shown in the element browser.

Fix this by checking if there is a selected folder at all.

Resolves: #52969
Releases: 6.2
Change-Id: I5f9e8cc7994edd69f6db6ae1cc647ee31e4930c6
Reviewed-on: https://review.typo3.org/25357
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php