diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-26 23:10:21 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-07-26 23:10:21 -0400 |
commit | ea2e76eecc8b02ba3a10a803e8490b91aac2fe95 (patch) | |
tree | effb0ff644dda50af24c6a6754c42961682a96af /lib | |
parent | d006a551f4a90e9e6ed797cf1357e1b12623f1f6 (diff) | |
download | nextcloud-server-ea2e76eecc8b02ba3a10a803e8490b91aac2fe95.tar.gz nextcloud-server-ea2e76eecc8b02ba3a10a803e8490b91aac2fe95.zip |
Forgot data parameter for file_put_contents() streams pre proxies
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filesystemview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php index e78e5e8ef6e..d1bab03e433 100644 --- a/lib/filesystemview.php +++ b/lib/filesystemview.php @@ -224,7 +224,7 @@ class OC_FilesystemView { public function file_put_contents($path, $data) { if(is_resource($data)) {//not having to deal with streams in file_put_contents makes life easier $absolutePath = $this->getAbsolutePath($path); - if (OC_FileProxy::runPreProxies('file_put_contents', $absolutePath) && OC_Filesystem::isValidPath($path)) { + if (OC_FileProxy::runPreProxies('file_put_contents', $absolutePath, $data) && OC_Filesystem::isValidPath($path)) { $path = $this->getRelativePath($absolutePath); $exists = $this->file_exists($path); $run = true; |