diff --git a/include/util.php b/include/util.php index a26231e..6eabed0 100644 --- a/include/util.php +++ b/include/util.php @@ -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 "