From 06c7661b37a499cae01345e62ae07bd0f2249bf1 Mon Sep 17 00:00:00 2001 From: Phie Date: Sun, 13 Sep 2020 17:26:13 +0200 Subject: fix add to recent when importing --- lib/Controller/NoteController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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"; -- cgit v1.2.3