From 0ae7a49c8e025a35189f62d125e1b4a8f5930c27 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 29 May 2014 14:15:48 +0200 Subject: Fix storage wrapper being called with null --- lib/private/files/mount/mount.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/files/mount') diff --git a/lib/private/files/mount/mount.php b/lib/private/files/mount/mount.php index d4a4e186fb9..7c40853ac95 100644 --- a/lib/private/files/mount/mount.php +++ b/lib/private/files/mount/mount.php @@ -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()); } } -- cgit v1.2.3