diff --git a/typo3/sysext/filelist/Classes/Controller/FileListController.php b/typo3/sysext/filelist/Classes/Controller/FileListController.php index 3f6f631baea30ab0576ab1d136a25061c4fe0abc..ce2bbc48f35add13e0ba347f658f95f57ffb0d5a 100644 --- a/typo3/sysext/filelist/Classes/Controller/FileListController.php +++ b/typo3/sysext/filelist/Classes/Controller/FileListController.php @@ -170,7 +170,7 @@ class FileListController { throw new \RuntimeException('Could not find any folder to be displayed.', 1349276894); } } - } catch (\TYPO3\CMS\Core\Resource\Exception\FolderDoesNotExistException $fileException) { + } catch (\TYPO3\CMS\Core\Resource\Exception $fileException) { // Take the first object of the first storage $fileStorages = $GLOBALS['BE_USER']->getFileStorages(); $fileStorage = reset($fileStorages);