mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Remove the leading slash from the filename for opendir
This commit is contained in:
parent
04bf8c1b66
commit
808a13922c
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ class Google extends \OC\Files\Storage\Common {
|
|||
$name .= '.'.$extension;
|
||||
}
|
||||
}
|
||||
$files[] = $name;
|
||||
$files[] = basename($name);
|
||||
// Cache entry for future use
|
||||
$this->entries[$name] = $entry;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue