mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Merge pull request #3444 from owncloud/share-fix
Fix undefined index for share mount point retrieval
This commit is contained in:
commit
96b1e54d4a
1 changed files with 1 additions and 1 deletions
|
|
@ -1009,7 +1009,7 @@ class Share {
|
|||
if (!isset($mounts[$row['storage']])) {
|
||||
$mountPoints = \OC\Files\Filesystem::getMountByNumericId($row['storage']);
|
||||
if (is_array($mountPoints)) {
|
||||
$mounts[$row['storage']] = $mountPoints[key($mountPoints)];
|
||||
$mounts[$row['storage']] = current($mountPoints);
|
||||
}
|
||||
}
|
||||
if ($mounts[$row['storage']]) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue