Fix storage id with storage jail

This commit is contained in:
Robin Appelman 2016-07-22 14:34:59 +02:00
parent 194c385c7a
commit d499f68fd7
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ class Jail extends Wrapper {
*/
public function getCache($path = '', $storage = null) {
if (!$storage) {
$storage = $this;
$storage = $this->storage;
}
$sourceCache = $this->storage->getCache($this->getSourcePath($path), $storage);
return new CacheJail($sourceCache, $this->rootPath);