diff options
author | Phie <phie@phie.ovh> | 2019-04-02 18:16:27 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2019-04-02 18:16:27 +0300 |
commit | 6525105f8230649c11805cccc4732623a21ada27 (patch) | |
tree | 1acf6ac4a5c203d5073f6818ae83e1636532c59f | |
parent | 829f9486fb2845486c40b0d31776a1ba77421b7b (diff) |
removing pet
-rwxr-xr-x | lib/Controller/NoteController.php | 2 |
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(); |