aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/pages/buscar.php.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/pages/buscar.php.md b/content/pages/buscar.php.md
index 5eb6643..5443e89 100644
--- a/content/pages/buscar.php.md
+++ b/content/pages/buscar.php.md
@@ -37,7 +37,7 @@ $STOP_WORDS = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
$web_content = json_decode(file_get_contents('tipuesearch_content.json'), true);
$stop_words_ignored = false;
-if (isset($_GET['q'])) {
+if (isset($_GET['q']) && !empty($_GET['q'])) {
$search_str = trim($_REQUEST['q']);