diff options
-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){ |