[BUGFIX] Only load folder contents if folder is initialised 29/22829/4
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:36:59 +0000 (09:36 +0200)
commit3358d32e75d426473ff1be4b2a9a492e8175a98b
tree37e9ed7ba134f79201c0417fd9203c8af3bb89b2
parent962e83ecfaeda11f693c55c76a488406562666fe
[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/22829
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Classes/Resource/Collection/FolderBasedFileCollection.php