Commit 048ad254 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Use proper variable

`$shares` is not defined. Introduced with and thus also in stable8.2
parent da5285dc
......@@ -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();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment