Permalink
Browse files

skip ks if no query

  • Loading branch information...
1 parent 1cfb30f commit 1f51e26be567143e0da39fdb339e1d8ce2fb86ee @pudge pudge committed Feb 23, 2007
Showing with 2 additions and 1 deletion.
  1. +2 −1 plugins/FireHose/FireHose.pm
@@ -280,7 +280,8 @@ sub getFireHoseEssentials {
$options->{limit} ||= 50;
my($items, $results, $doublecheck) = ([], {}, 0);
- if (!$options->{no_search} && $constants->{firehose_searchtoo}) { # && $options->{qfilter}) {
+ # for now, only bother to try searchtoo if there is a qfilter value to search on
+ if (!$options->{no_search} && $constants->{firehose_searchtoo} && $options->{qfilter}) {
my $searchtoo = getObject('Slash::SearchToo');
if ($searchtoo && $searchtoo->handled('firehose')) {
my(%opts, %query);

0 comments on commit 1f51e26

Please sign in to comment.