diff options
author | Phie <phie@phie.ovh> | 2020-09-13 18:26:13 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2020-09-13 18:26:13 +0300 |
commit | 06c7661b37a499cae01345e62ae07bd0f2249bf1 (patch) | |
tree | 2ca760b4a9fb82bd5ce0a2776319068872b6f546 | |
parent | 79d89e0c1b4e3263bf78d5475121f5973eab4ec3 (diff) |
fix add to recent when importing
-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 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"; |