Skip to content

Commit

Permalink
Fix getAllShare crash
Browse files Browse the repository at this point in the history
Internal Server Error\nReturn value of OCA\\Circles\\ShareByCircleProvider::getAllShares()
must be iterable, none returned in file '/var/www/html/apps-extra/circles/lib/ShareByCircleProvider.php' line 674

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
  • Loading branch information
CarlSchwan authored and ArtificialOwl committed Jun 24, 2022
1 parent 3961947 commit da369e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ShareByCircleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -671,5 +671,6 @@ public function getAllShares(): iterable {
// };
// }
// $cursor->closeCursor();
return [];
}
}

0 comments on commit da369e2

Please sign in to comment.