This commit is contained in:
Bjoern Schiessle 2014-03-06 15:30:01 +01:00
parent bc0292c16d
commit 5db3b049fd
1 changed files with 1 additions and 1 deletions

View File

@ -1170,7 +1170,7 @@ class Share extends \OC\Share\Constants {
if ($backend instanceof \OCP\Share_Backend_File_Dependent) {
if ($row['item_type'] == 'file' || $row['item_type'] == 'folder') {
$childItem['file_source'] = $child['source'];
} else {
} else { // TODO is this really needed if we already know that we use the file backend?
$meta = \OC\Files\Filesystem::getFileInfo($child['file_path']);
$childItem['file_source'] = $meta['fileid'];
}