mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Cache: fix copy-paste errors
This commit is contained in:
parent
80dd8d7802
commit
7c33d0a5a7
1 changed files with 2 additions and 2 deletions
|
|
@ -727,8 +727,8 @@ class View {
|
|||
*/
|
||||
public function getDirectoryContent($directory, $mimetype_filter = '') {
|
||||
$result = array();
|
||||
if (!Filesystem::isValidPath($path)) {
|
||||
return $data;
|
||||
if (!Filesystem::isValidPath($directory)) {
|
||||
return $result;
|
||||
}
|
||||
$path = Filesystem::normalizePath($this->fakeRoot . '/' . $directory);
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue