[Pkg-owncloud-commits] [owncloud] 118/199: Fix storage wrapper being called with null

David Prévot taffit at moszumanska.debian.org
Sun Jun 1 18:53:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 0ae7a49c8e025a35189f62d125e1b4a8f5930c27
Author: Robin Appelman <icewind at owncloud.com>
Date:   Thu May 29 14:15:48 2014 +0200

    Fix storage wrapper being called with null
---
 lib/private/files/mount/mount.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/files/mount/mount.php b/lib/private/files/mount/mount.php
index d4a4e18..7c40853 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());
 	}
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list