Bug 179697 - OR terms need extra level of bracketing

r=myk, a=justdave


git-svn-id: svn://10.0.0.236/trunk@133822 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bbaetz%student.usyd.edu.au
2002-11-14 11:11:18 +00:00
parent bdbc8d4f7c
commit d900d46789

View File

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