fixes #2679
This commit is contained in:
parent
89818e279b
commit
49313b334a
|
@ -343,9 +343,9 @@ class Cache {
|
||||||
$query->execute(array($targetPath, md5($targetPath), $child['fileid']));
|
$query->execute(array($targetPath, md5($targetPath), $child['fileid']));
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = \OC_DB::prepare('UPDATE `*PREFIX*filecache` SET `path` = ?, `path_hash` = ?, `parent` =?'
|
$query = \OC_DB::prepare('UPDATE `*PREFIX*filecache` SET `path` = ?, `path_hash` = ?, `name` = ?, `parent` =?'
|
||||||
. ' WHERE `fileid` = ?');
|
. ' WHERE `fileid` = ?');
|
||||||
$query->execute(array($target, md5($target), $newParentId, $sourceId));
|
$query->execute(array($target, md5($target), basename($target), $newParentId, $sourceId));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue