Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ignore orphans shares
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl committed Dec 2, 2024
commit 6df7eccd8068ebec12a8dc08adb25e17e10bb918
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
Loading