diff options
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/ajax/list.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/list.php b/apps/files/ajax/list.php index e43e5dd08e8..8a48d4fbe1f 100644 --- a/apps/files/ajax/list.php +++ b/apps/files/ajax/list.php @@ -38,7 +38,7 @@ $dir = \OC\Files\Filesystem::normalizePath($dir); try { $dirInfo = \OC\Files\Filesystem::getFileInfo($dir); - if (!$dirInfo || !$dirInfo->getType() === 'dir') { + if (!$dirInfo || $dirInfo->getType() !== 'dir') { http_response_code(404); exit(); } |