[BUGFIX] Storage uses wrong identifier for processing folder
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Resource / ResourceStorage.php
index d72028e..251983c 100644 (file)
@@ -1945,7 +1945,7 @@ class ResourceStorage {
                        if (!empty($this->storageRecord['processingfolder'])) {
                                $processingFolder = $this->storageRecord['processingfolder'];
                        }
-                       $processingFolder = trim($processingFolder, '/');
+                       $processingFolder = '/' . trim($processingFolder, '/') . '/';
                        // this way, we also worry about deeplinked folders like typo3temp/_processed_
                        if ($this->driver->folderExists($processingFolder) === FALSE) {
                                $processingFolderParts = explode('/', $processingFolder);
@@ -1964,4 +1964,4 @@ class ResourceStorage {
        }
 }
 
-?>
\ No newline at end of file
+?>