Merge pull request #5812 from MrJeos/master

Fix for mb strlen
This commit is contained in:
Morris Jobke 2017-07-22 11:04:24 +02:00 committed by GitHub
commit 9a151056d0

View file

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