diff options
author | Robin Appelman <icewind1991@gmail.com> | 2010-09-06 19:59:35 +0400 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2010-09-06 19:59:35 +0400 |
commit | 2738aab45b2b42f05f1de2f44ee8e7b3c4ff9ac1 (patch) | |
tree | 763bb0faa00b6bc9c958930326c313dcd20cbb56 /inc | |
parent | 1a236a8884c55a7c2cc1eea71bbf63fd2268a994 (diff) |
fixed bug in filesystem abstraction that broke file uploading
Diffstat (limited to 'inc')
-rw-r--r-- | inc/lib_filesystem.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/lib_filesystem.php b/inc/lib_filesystem.php index 6ba1f05a310..3a2373f166b 100644 --- a/inc/lib_filesystem.php +++ b/inc/lib_filesystem.php @@ -284,7 +284,7 @@ class OC_FILESYSTEM{ } static public function fromTmpFile($tmpFile,$path){ if(self::canWrite($path) and $storage=self::getStorage($path)){ - return $storage->fromTmpFile(self::getInternalPath($path)); + return $storage->fromTmpFile($tmpFile,self::getInternalPath($path)); } } static public function getMimeType($path){ |