Commit 3cac07be authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #20594 from owncloud/use-proper-variable

Use proper variable
parents c10be07c 048ad254
......@@ -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