summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorLoki3000 <github@labcms.ru>2016-03-24 16:03:45 +0400
committerLoki3000 <github@labcms.ru>2016-03-24 16:03:45 +0400
commitbd4615b672af997947655cc4381753eb42608ae1 (patch)
treed0cf83ea83969825765aad38f39789d9da6eb2ee /db
parent522df41376706b5ba4c6fa96bb1d7b8816397541 (diff)
* fix multibyte search
Diffstat (limited to 'db')
-rw-r--r--db/item.php2
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()) .