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-23 23:49:55 +0300
commit7b09ab1be45b20ef2879a4644ca2f0423c7e5a14 (patch)
tree11d9a1e451929f0b00a0f120ae7b4f8a410e6471
parente704593f45cbde6d8c251fd3e8bd727b36c1a331 (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;
}