From 177a67f59be1354a8b50c30e5c1fc54acc7659f9 Mon Sep 17 00:00:00 2001 From: zadam Date: Mon, 6 Mar 2023 23:23:56 +0100 Subject: [PATCH] content null check in full text search, #3672 --- src/services/search/expressions/note_content_fulltext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/search/expressions/note_content_fulltext.js b/src/services/search/expressions/note_content_fulltext.js index c893b124b..456306667 100644 --- a/src/services/search/expressions/note_content_fulltext.js +++ b/src/services/search/expressions/note_content_fulltext.js @@ -69,7 +69,7 @@ class NoteContentFulltextExp extends Expression { } } - if (!content || typeof content !== 'string') { + if (!content) { return; }