mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 09:05:43 +00:00
fix contributors selection
This commit is contained in:
parent
6bda9c733c
commit
0923eb2234
1 changed files with 2 additions and 2 deletions
|
|
@ -214,12 +214,12 @@ class TorrentService
|
|||
{
|
||||
$contributors = [];
|
||||
|
||||
foreach ($this->findTorrentLocalesByTorrentId($torrent->getUserId()) as $torrentLocale)
|
||||
foreach ($this->findTorrentLocalesByTorrentId($torrent->getId()) as $torrentLocale)
|
||||
{
|
||||
$contributors[] = $torrentLocale->getUserId();
|
||||
}
|
||||
|
||||
foreach ($this->findTorrentSensitiveByTorrentId($torrent->getUserId()) as $torrentSensitive)
|
||||
foreach ($this->findTorrentSensitiveByTorrentId($torrent->getId()) as $torrentSensitive)
|
||||
{
|
||||
$contributors[] = $torrentSensitive->getUserId();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue