From 99015f5260cdf890c4d4bce0bd2537597300bc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sun, 14 Jun 2020 23:51:45 -0500 Subject: [PATCH] buscar.php: fix keywords --- content/pages/buscar.php.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/pages/buscar.php.md b/content/pages/buscar.php.md index f0ae57b..542b02e 100644 --- a/content/pages/buscar.php.md +++ b/content/pages/buscar.php.md @@ -54,11 +54,11 @@ if (isset($_GET['q'])) { } } if (! $is_stop_word) { - $keywords_temp .= $keyword; + $keywords_temp .= "{$keyword} "; } } - $keywords = $keywords_temp; + $keywords = trim($keywords_temp); $keywords = explode(' ', $keywords); $found_results = [];