summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2022-08-06 14:07:36 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2022-08-06 14:07:57 +0200
commit77d9a392d1188e5c5954f93c9f18ca8af773625c (patch)
tree0b2f774a9865e24312a68800427436920bbe8e15
parent1a941bdb818c9a6918c21aa8cf30400a418d0f92 (diff)
fix searchstring
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
-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());
}