[Pkg-owncloud-commits] [owncloud] 37/85: Fix storage wrapper being called with null

David Prévot taffit at moszumanska.debian.org
Tue Jun 17 19:12:43 UTC 2014


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

taffit pushed a commit to branch 6.0
in repository owncloud.

commit f814b9a23c6ae27b1a4ca557deb06b5c944436a4
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 0ce2f59..1a9e9b2 100644
--- a/lib/private/files/mount/mount.php
+++ b/lib/private/files/mount/mount.php
@@ -143,6 +143,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