mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 179697 - OR terms need extra level of bracketing
r=myk, a=justdave
This commit is contained in:
parent
5c71dae934
commit
359217380e
@ -883,6 +883,7 @@ sub init {
|
||||
}
|
||||
}
|
||||
if (@orlist) {
|
||||
@orlist = map("($_)", @orlist) if (scalar(@orlist) > 1);
|
||||
push(@andlist, "(" . join(" OR ", @orlist) . ")");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user