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:
authorPhie <phie@phie.ovh>2020-06-23 23:49:55 +0300
committerPhie <phie@phie.ovh>2020-06-24 00:06:00 +0300
commitaa781927bbbb71b3feb39f94ede91446b070cba9 (patch)
treec0eaf9242524355ac54da263590e96e63beb67e6
parentd3813758378ba0f9ffb54f8939af602141eb3f70 (diff)
fix awful mistake leading to whole note folder deletiong
-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 7f9f3aa..80c718b 100755
--- a/lib/Controller/NoteController.php
+++ b/lib/Controller/NoteController.php
@@ -771,7 +771,7 @@ public function getOpusEncoder(){
} catch(\OCP\Files\NotFoundException $e) {
}
- $this->saveOpenNote($_POST['path'],$id);
+ $this->saveOpenNote($path,$id);
return false;
}