diff --git a/src/library/sphinx.php b/src/library/sphinx.php index b56eee0..12be426 100644 --- a/src/library/sphinx.php +++ b/src/library/sphinx.php @@ -75,7 +75,7 @@ class Sphinx { { if (mb_strlen($value) > 5) { - if (!in_array(mb_strtolower($value), $stopWords)) + if (!in_array(mb_strtolower($value), array_map('strtolower', $stopWords))) { $result[] = sprintf('@metaTitle "%s" | @dn "%s"', $value, $value); }