Use proper variable

`$shares` is not defined. Introduced with c3e7d324c5 and thus also in stable8.2
This commit is contained in:
Lukas Reschke 2015-11-18 22:28:48 +01:00
parent da5285dc23
commit 048ad25416
1 changed files with 1 additions and 1 deletions

View File

@ -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();