diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-11-18 22:28:48 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-11-18 22:28:48 +0100 |
commit | 048ad25416f3ca697d48af320b6b2a97352f0670 (patch) | |
tree | e18177221d16874fccb560b204fc5b06db131c2e | |
parent | da5285dc23dc88d8f570409a8d7ed1296b95f407 (diff) | |
download | nextcloud-server-048ad25416f3ca697d48af320b6b2a97352f0670.tar.gz nextcloud-server-048ad25416f3ca697d48af320b6b2a97352f0670.zip |
Use proper variable
`$shares` is not defined. Introduced with https://github.com/owncloud/core/commit/c3e7d324c5e61eb087fb2ea5102d332f9f08db3d and thus also in stable8.2
-rw-r--r-- | apps/files_sharing/api/remote.php | 2 |
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(); |