Skip to content

Commit

Permalink
Item1773: yet another hidden maybe, if, coulda, exception to the sepa…
Browse files Browse the repository at this point in the history
…rator between results for multiple webs debarcle

git-svn-id: http://svn.foswiki.org/trunk@4727 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Aug 28, 2009
1 parent c7b2499 commit ccfa21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Search.pm
Expand Up @@ -622,7 +622,7 @@ sub searchWeb {
\%params );
$ttopics += $web_ttopics;
# add legacy SEARCH separator - see Item1773 (TODO: find a better approach)
$web_searchResult .= $separator if (($web_ttopics>0) and $noFooter and $separator);
$web_searchResult .= $separator if (($web_ttopics>0) and $noFooter and $noSummary and $separator);
$searchResult .= $web_searchResult;
} # end of: foreach my $web ( @webs )
return '' if ( $ttopics == 0 && $params{zeroresults} );
Expand Down

0 comments on commit ccfa21f

Please sign in to comment.