diff options
author | Loki3000 <github@labcms.ru> | 2016-03-24 16:03:45 +0400 |
---|---|---|
committer | Loki3000 <github@labcms.ru> | 2016-03-24 16:03:45 +0400 |
commit | bd4615b672af997947655cc4381753eb42608ae1 (patch) | |
tree | d0cf83ea83969825765aad38f39789d9da6eb2ee /db/item.php | |
parent | 522df41376706b5ba4c6fa96bb1d7b8816397541 (diff) |
* fix multibyte search
Diffstat (limited to 'db/item.php')
-rw-r--r-- | db/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/item.php b/db/item.php index 1916ba6a1..a5daacc65 100644 --- a/db/item.php +++ b/db/item.php @@ -216,7 +216,7 @@ class Item extends Entity implements IAPI, \JsonSerializable { public function generateSearchIndex() { $this->setSearchIndex( - strtolower( + mb_strtolower( html_entity_decode(strip_tags($this->getBody())) . html_entity_decode($this->getAuthor()) . html_entity_decode($this->getTitle()) . |