Skip to content

Commit

Permalink
ignore orphans shares
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl committed Dec 2, 2024
1 parent 4bd653d commit e56c804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Command/SharesFiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ private function displayShares(
$row = array_merge(
$row, [
$sharedTo . ' (' . $recipient->getSingleId() . ', '
. Circle::$DEF_SOURCE[$recipient->getBasedOn()->getSource()] . ')',
. (Circle::$DEF_SOURCE[$recipient?->getBasedOn()->getSource()] ?? 'undef') . ')',
(($share->getChildId() > 0) ? $share->getChildFileTarget(
) : $share->getFileTarget()),
]
Expand Down

0 comments on commit e56c804

Please sign in to comment.