[BUGFIX] Only load folder contents if folder is initialised 81/24781/2
authorFrans Saris <franssaris@gmail.com>
Mon, 5 Aug 2013 20:13:55 +0000 (22:13 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Tue, 15 Oct 2013 07:37:30 +0000 (09:37 +0200)
commitbe9b7c7a7b3201ef799ea11dfab7715ed045b939
treeab43ffe82b202adc6e21d3600898dcb1668cdff8
parentce693d8ca4ad8d25a2183e334d2bd79951d21962
[BUGFIX] Only load folder contents if folder is initialised

FolderBasedFileCollection::loadContents() has to check if
the folder is initialised prior to loading the contents to
prevent fatal errors.

Fixes: #50802
Releases: 6.2, 6.1, 6.0
Change-Id: If3ce06cff13595da49abbb6aa99c891969aea692
Reviewed-on: https://review.typo3.org/24781
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Classes/Resource/Collection/FolderBasedFileCollection.php