We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce619b0 + 086f41b commit fa779feCopy full SHA for fa779fe
lib/private/Share20/Manager.php
@@ -1408,7 +1408,13 @@ public function userDeletedFromGroup($uid, $gid) {
1408
* @return array
1409
*/
1410
public function getAccessList(\OCP\Files\Node $path, $recursive = true, $currentAccess = false) {
1411
- $owner = $path->getOwner()->getUID();
+ $owner = $path->getOwner();
1412
+
1413
+ if ($owner === null) {
1414
+ return [];
1415
+ }
1416
1417
+ $owner = $owner->getUID();
1418
1419
if ($currentAccess) {
1420
$al = ['users' => [], 'remote' => [], 'public' => false];
0 commit comments