diff options
author | Sam Morris <sam@robots.org.uk> | 2011-03-01 14:41:58 +0100 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-03-01 14:41:58 +0100 |
commit | b048930efb8b64acd3c5785fc6dd69f1cdc766ff (patch) | |
tree | 787b02f07d2f90322e2a74d77b3516a3b721dbd1 /Bugzilla/Search.pm | |
parent | 5137b07bae62f27dbacee3fbd82a529df1ee8b46 (diff) | |
download | bugzilla-b048930efb8b64acd3c5785fc6dd69f1cdc766ff.tar.gz bugzilla-b048930efb8b64acd3c5785fc6dd69f1cdc766ff.tar.xz |
Bug 634144: Make possible_duplicates work on PostgreSQL
r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/Search.pm')
-rw-r--r-- | Bugzilla/Search.pm | 2 |
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)"; } |