Trim spaces from the begining and end of the search string so we don't miss

some 'like' matches.
This commit is contained in:
Chris Morgan
2005-06-14 16:25:20 +00:00
committed by WineHQ
parent 4d38ddc8a2
commit bce26361f3

View File

@@ -587,6 +587,10 @@ function process_app_version_changes($isVersion)
function perform_search_and_output_results($search_words)
{
/* trim off leading and trailing spaces in $search_words */
/* to improve matching accuracy */
$search_words = trim($search_words);
echo "<center><b>Like matches</b></center>";
$hResult = searchForApplication($search_words);
outputSearchTableForhResult($search_words, $hResult);