diff options
author | 2011-03-02 00:43:43 -0800 | |
---|---|---|
committer | 2011-03-02 00:43:43 -0800 | |
commit | b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8 (patch) | |
tree | 4b3198d06883cce87cbc07a1ab9eae489aee92c1 /Bugzilla/Search.pm | |
parent | Bug 624414: BUGZILLA.value_descs was always empty in the JS, and display_value (diff) | |
download | bugzilla-b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8.tar.gz bugzilla-b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8.tar.bz2 bugzilla-b8566e4d8f5bc2df8b90c857a99c0f5c0beaebd8.zip |
Bug 632718: Only return 500 search results unless the user specifically
requests to see more.
r=dkl, 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 edb59e40e..81b459ee5 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -920,7 +920,7 @@ sub _sql_limit { $limit = $max_results; } - if (defined $offset and not defined $limit) { + if (defined($offset) && !$limit) { $limit = INT_MAX; } if (defined $limit) { |