From eca16ce0a47df2eaff6010f441dcdf67e346a2fe Mon Sep 17 00:00:00 2001 From: mieszkou Date: Sun, 22 May 2022 16:36:46 +0200 Subject: [PATCH] fix: system/includes/functions.php function: keyword_count() --- system/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index fe1ff2d..bd43560 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1158,7 +1158,7 @@ function keyword_count($keyword) foreach ($posts as $index => $v) { $arr = explode('_', $v['basename']); - $filter = $arr[1] . ' ' . $arr[2]; + $filter = $arr[1] . ' ' . $arr[2] . ' ' . $v['content']; foreach ($words as $word) { if (stripos($filter, $word) !== false) { $tmp[] = $v;