[php:VD] fix sync of subdirs cache on folder copy/move

This commit is contained in:
nao-pon
2016-11-09 10:16:20 +09:00
parent 7b8053a3ba
commit 5ebc135c5b
3 changed files with 11 additions and 1 deletions
+4
View File
@@ -1501,6 +1501,10 @@ class elFinderVolumeBox extends elFinderVolumeDriver
curl_close($curl);
if ($result && isset($result->id)) {
if ($type === 'folders' && isset($this->sessionCache['subdirs'])) {
$this->sessionCache['subdirs'][$targetDir] = true;
}
return $this->_joinPath($targetDir, $result->id);
}