Fix for mb strlen

Error with moving files with long names in UTF-8
This commit is contained in:
Artem Kochnev 2017-07-20 17:29:50 +03:00 committed by Morris Jobke
parent f91d6624cd
commit 3d54cef078
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,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();