Skip to content

Commit

Permalink
Merge pull request #61 from Propaganistas/fixes
Browse files Browse the repository at this point in the history
Properly map virtual path when useDisplayPaths = false
  • Loading branch information
masbug committed Apr 19, 2022
2 parents cc351c8 + f9a69ee commit 5e384f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GoogleDriveAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ protected function normaliseObject(DriveFile $object, $dirname)
$result['display_path'] = $this->toDisplayPath($result['virtual_path']);
} else {
$result['virtual_path'] = ($dirname ? ($dirname.'/') : '').$id;
$result['display_path'] = $this->toDisplayPath($result['virtual_path']);
$result['display_path'] = $result['virtual_path'];
}

if ($type === 'file') {
Expand Down

0 comments on commit 5e384f1

Please sign in to comment.