[FIX] web: domains might be undefined, so we check
Introduced recently in b2d66d0c14
opw-726354
Closes #16068
This commit is contained in:
parent
59a6397867
commit
8e7f34c323
|
@ -854,7 +854,8 @@
|
|||
var result_domain = [];
|
||||
// Normalize only if the first domain is the array ["|"] or ["!"]
|
||||
var need_normalization = (
|
||||
domains.length > 0
|
||||
domains
|
||||
&& domains.length > 0
|
||||
&& domains[0].length === 1
|
||||
&& (domains[0][0] === "|" || domains[0][0] === "!")
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue