There was an error while loading. Please reload this page.
1 parent 78d94ac commit 95ceaf2Copy full SHA for 95ceaf2
1 file changed
lib/Command/SharesFiles.php
@@ -203,15 +203,20 @@ private function displayShares(
203
$sharedTo .= '@' . $recipient->getInstance();
204
}
205
206
- $circle = $share->getCircle();
+ $circleField = '';
207
+ if ($share->hasCircle()) {
208
+ $circle = $share->getCircle();
209
+ $circleField = $circle->getDisplayName()
210
+ . ' (' . $share->getSharedWith()
211
+ . ', ' . Circle::$DEF_SOURCE[$circle->getSource()] . ')';
212
+ }
213
$row = [
214
$share->getId(),
215
$share->getFileSource(),
216
$share->getShareOwner(),
217
$share->getFileTarget(),
218
$share->getSharedBy(),
- $circle->getDisplayName() . ' (' . $share->getSharedWith()
- . ', ' . Circle::$DEF_SOURCE[$circle->getSource()] . ')'
219
+ $circleField,
220
];
221
222
if (!$filterRecipient) {
0 commit comments