From 6a7002657c4b08bd8ab63f6ac4cbd0c8d97acd8d Mon Sep 17 00:00:00 2001 From: splifingate Date: Wed, 29 Jan 2025 05:43:42 -0500 Subject: [PATCH] three-character minimum for $keyword limit $keyword to a minimum of three characters --- system/includes/functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index 06042be..11ee7b3 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1541,9 +1541,9 @@ function keyword_count($keyword) } } - $tmp = array_unique($tmp, SORT_REGULAR); - return count($tmp); - } + $tmp = array_unique($tmp, SORT_REGULAR); + return count($tmp); + } } // Return recent posts lists