From b048930efb8b64acd3c5785fc6dd69f1cdc766ff Mon Sep 17 00:00:00 2001 From: Sam Morris Date: Tue, 1 Mar 2011 05:41:58 -0800 Subject: Bug 634144: Make possible_duplicates work on PostgreSQL r=mkanat, a=mkanat --- Bugzilla/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Search.pm') 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)"; } -- cgit v1.2.3-24-g4f1b