diff options
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/Lib/Api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Api.php b/apps/files_external/lib/Lib/Api.php index 82dd377cd16..6b10443bbdc 100644 --- a/apps/files_external/lib/Lib/Api.php +++ b/apps/files_external/lib/Lib/Api.php @@ -39,7 +39,7 @@ class Api { private static function formatMount($mountPoint, $mountConfig) { // strip "/$user/files" from mount point $mountPoint = explode('/', trim($mountPoint, '/'), 3); - $mountPoint = $mountPoint[2]; + $mountPoint = isset($mountPoint[2]) ? $mountPoint[2] : ''; // split path from mount point $path = dirname($mountPoint); |