summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-19 10:41:14 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-19 10:41:14 +0100
commit3cac07bedb3ba56eef356857af5bf839ae9393b3 (patch)
treef874e60f384e0ca7dd7e1d3d319875e48633aee6 /apps
parentc10be07c1b8538361dbfca1ae12bb279b72fe377 (diff)
parent048ad25416f3ca697d48af320b6b2a97352f0670 (diff)
downloadnextcloud-server-3cac07bedb3ba56eef356857af5bf839ae9393b3.tar.gz
nextcloud-server-3cac07bedb3ba56eef356857af5bf839ae9393b3.zip
Merge pull request #20594 from owncloud/use-proper-variable
Use proper variable
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/api/remote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/api/remote.php b/apps/files_sharing/api/remote.php
index 41ebb6e2eab..fb692f8a9a6 100644
--- a/apps/files_sharing/api/remote.php
+++ b/apps/files_sharing/api/remote.php
@@ -98,7 +98,7 @@ class Remote {
*/
private static function extendShareInfo($share) {
$view = new \OC\Files\View('/' . \OC_User::getUser() . '/files/');
- $info = $view->getFileInfo($shares['mountpoint']);
+ $info = $view->getFileInfo($share['mountpoint']);
$share['mimetype'] = $info->getMimetype();
$share['mtime'] = $info->getMtime();