summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index bf9dbcb2e..34100b4ba 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -2263,7 +2263,7 @@ sub _content_matches {
$rterm2 = $term2 if !$rterm2;
# The term to use in the WHERE clause.
- my $term = "$term1 > 0 OR $term2 > 0";
+ my $term = "$term1 OR $term2";
if ($operator =~ /not/i) {
$term = "NOT($term)";
}