Поправлен баг
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user