Bug 179697 - OR terms need extra level of bracketing

r=myk, a=justdave
This commit is contained in:
bbaetz%student.usyd.edu.au 2002-11-14 11:11:18 +00:00
parent 5c71dae934
commit 359217380e

View File

@ -883,6 +883,7 @@ sub init {
}
}
if (@orlist) {
@orlist = map("($_)", @orlist) if (scalar(@orlist) > 1);
push(@andlist, "(" . join(" OR ", @orlist) . ")");
}
}