Browse Source

fix: system/includes/functions.php function: keyword_count()

pull/558/head
mieszkou 3 years ago
parent
commit
eca16ce0a4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      system/includes/functions.php

+ 1
- 1
system/includes/functions.php View File

@ -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;


Loading…
Cancel
Save