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 authored and backportbot[bot] committed Dec 11, 2024
1 parent 82dd4d5 commit aa19ffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Command/SharesFiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,10 @@ private function displayShares(
];

if (!$filterRecipient) {
$def = ($recipient->hasBasedOn()) ? Circle::$DEF_SOURCE[$recipient->getBasedOn()->getSource()] : 'undef';
$row = array_merge(
$row, [
$sharedTo . ' (' . $recipient->getSingleId() . ', '
. Circle::$DEF_SOURCE[$recipient->getBasedOn()->getSource()] . ')',
$sharedTo . ' (' . $recipient->getSingleId() . ', ' . $def . ')',
(($share->getChildId() > 0) ? $share->getChildFileTarget(
) : $share->getFileTarget()),
]
Expand Down

0 comments on commit aa19ffd

Please sign in to comment.