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 GitHub
parent c0e9b374f1
commit 5abeb9519e

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();