mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-20 06:56:40 +02:00
fix #1395 - advanced search will cause a typeerror
This commit is contained in:
parent
85c07dba9c
commit
f153d99744
|
@ -296,7 +296,7 @@ class EntryModel extends Model {
|
|||
|
||||
matchStringMulti(lower, str, find, context) {
|
||||
if (lower) {
|
||||
str = str.toLowerCase();
|
||||
str = str.isProtected ? str.getText().toLowerCase() : str.toLowerCase();
|
||||
}
|
||||
for (let i = 0; i < find.length; i++) {
|
||||
const item = find[i];
|
||||
|
|
Loading…
Reference in New Issue
Block a user