aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-07-22 11:04:24 +0200
committerGitHub <noreply@github.com>2017-07-22 11:04:24 +0200
commit9a151056d034f4124ea837f77b5a13f35834fd22 (patch)
tree11d496c06a81d811d808989dfafac13680177858 /lib
parentb6c67f585e6d0576ff589ea39de87fe09cfd673c (diff)
parent5abeb9519e0d705208d4c267f5a2dba831000ced (diff)
downloadnextcloud-server-9a151056d034f4124ea837f77b5a13f35834fd22.tar.gz
nextcloud-server-9a151056d034f4124ea837f77b5a13f35834fd22.zip
Merge pull request #5812 from MrJeos/master
Fix for mb strlen
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Cache/Cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php
index 4532c0d4810..e0a4d8da106 100644
--- a/lib/private/Files/Cache/Cache.php
+++ b/lib/private/Files/Cache/Cache.php
@@ -527,7 +527,7 @@ class Cache implements ICache {
$this->connection->beginTransaction();
if ($sourceData['mimetype'] === 'httpd/unix-directory') {
//update all child entries
- $sourceLength = strlen($sourcePath);
+ $sourceLength = mb_strlen($sourcePath);
$query = $this->connection->getQueryBuilder();
$fun = $query->func();