Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-27 07:10:21 +0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-30 18:07:19 +0400
commit93c75f46e5dacc59362386ec93c1a59a7e057179 (patch)
treef88d514640a54fdaccedf6e2bb7762e74d4ed143 /lib
parentea18d70c6075d72e3c1e67b282ba3b2799550f88 (diff)
Forgot data parameter for file_put_contents() streams pre proxies
Diffstat (limited to 'lib')
-rw-r--r--lib/filesystemview.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index a363cee0b8a..7e5f156aca3 100644
--- a/lib/filesystemview.php
+++ b/lib/filesystemview.php
@@ -201,7 +201,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;