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

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/NoteController.php')
-rwxr-xr-xlib/Controller/NoteController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/NoteController.php b/lib/Controller/NoteController.php
index 8440983..0b7dfa7 100755
--- a/lib/Controller/NoteController.php
+++ b/lib/Controller/NoteController.php
@@ -471,7 +471,7 @@
public function getMedia($note, $media){
$tmppath = tempnam(sys_get_temp_dir(), uniqid().".zip");
$node = $this->CarnetFolder->get($note);
- $response = "pet";
+ $response = null;
file_put_contents($tmppath, $node->fopen("r"));
try{
$zipFile = new \PhpZip\ZipFile();