diff options
Diffstat (limited to 'apps/files_sharing/get.php')
-rw-r--r-- | apps/files_sharing/get.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php index fa3535fd144..3e42bf6a6c7 100644 --- a/apps/files_sharing/get.php +++ b/apps/files_sharing/get.php @@ -31,7 +31,7 @@ if ($source !== false) { if ($i['type'] == 'file') { $fileinfo = pathinfo($i['name']); $i['basename'] = $fileinfo['filename']; - $i['extention'] = isset($fileinfo['extension']) ? ('.'.$fileinfo['extension']) : ''; + $i['extension'] = isset($fileinfo['extension']) ? ('.'.$fileinfo['extension']) : ''; } $i['directory'] = substr($i['directory'], $rootLength); if ($i['directory'] == "/") { |