[FOLLOWUP][BUGFIX] Catch exceptions for inaccessible storages
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Resource / Folder.php
index d59965d..9038756 100644 (file)
@@ -375,7 +375,7 @@ class Folder implements FolderInterface {
        public function checkActionPermission($action) {
                try {
                        return $this->getStorage()->checkFolderActionPermission($action, $this);
-               } catch (Exception\ResourcePermissionsException $e) {
+               } catch (Exception\ResourcePermissionsUnavailableException $e) {
                        return FALSE;
                }
        }