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-09-13 18:26:13 +0300
committerPhie <phie@phie.ovh>2020-09-13 18:26:13 +0300
commit06c7661b37a499cae01345e62ae07bd0f2249bf1 (patch)
tree2ca760b4a9fb82bd5ce0a2776319068872b6f546
parent79d89e0c1b4e3263bf78d5475121f5973eab4ec3 (diff)
fix add to recent when importing
-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 69f8717..ee1598b 100755
--- a/lib/Controller/NoteController.php
+++ b/lib/Controller/NoteController.php
@@ -1329,7 +1329,7 @@ public function getOpusEncoder(){
}
$this->internalPostKeywordsActions($kbactions);
$add_to_recent = $_POST['add_to_recent'];
- if($add_to_recent){
+ if($add_to_recent == "true"){
$dbactions = array();
$dbaction = array();
$dbaction["action"] = "add";