diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-07-22 11:04:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-22 11:04:24 +0200 |
commit | 9a151056d034f4124ea837f77b5a13f35834fd22 (patch) | |
tree | 11d496c06a81d811d808989dfafac13680177858 /lib | |
parent | b6c67f585e6d0576ff589ea39de87fe09cfd673c (diff) | |
parent | 5abeb9519e0d705208d4c267f5a2dba831000ced (diff) | |
download | nextcloud-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.php | 2 |
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(); |