Поправлен баг

This commit is contained in:
Book Pauk
2022-10-26 21:48:07 +07:00
parent 4cacecc13b
commit 7f68b1d68a

View File

@@ -448,10 +448,12 @@ class DbSearcher {
for (const id of ids) {
const row = @unsafeRow(id);
for (const book of row.books) {
if (filterBook(book)) {
result.add(id);
break;
if (row) {
for (const book of row.books) {
if (filterBook(book)) {
result.add(id);
break;
}
}
}
}