summaryrefslogtreecommitdiffstats
path: root/lib/Db/Item.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Db/Item.php')
-rw-r--r--lib/Db/Item.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php
index 0ed9e9113..51f373186 100644
--- a/lib/Db/Item.php
+++ b/lib/Db/Item.php
@@ -189,9 +189,8 @@ class Item extends Entity implements IAPI, \JsonSerializable
}
$search_string .= $this->getUrl();
- $search_string .= 'UTF-8';
- $this->setSearchIndex(mb_strtolower($search_string));
+ $this->setSearchIndex(mb_strtolower($search_string,'UTF-8'));
$this->setFingerprint($this->computeFingerprint());
$this->setContentHash($this->computeContentHash());
}