Fix storage wrapper being called with null

This commit is contained in:
Robin Appelman 2014-05-29 14:15:48 +02:00
parent 99d46af0b4
commit 0ae7a49c8e
1 changed files with 1 additions and 1 deletions

View File

@ -161,6 +161,6 @@ class Mount {
* @param callable $wrapper
*/
public function wrapStorage($wrapper) {
$this->storage = $wrapper($this->mountPoint, $this->storage);
$this->storage = $wrapper($this->mountPoint, $this->getStorage());
}
}