mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-11 07:27:58 +00:00
fix dependencies
This commit is contained in:
parent
cf204d09d0
commit
c47c8ad83b
@ -484,9 +484,9 @@ class TorrentService
|
|||||||
int $torrentSensitiveId
|
int $torrentSensitiveId
|
||||||
): ?TorrentSensitive
|
): ?TorrentSensitive
|
||||||
{
|
{
|
||||||
$torrentSensitive = $this->find(
|
$torrentSensitive = $this->entityManagerInterface
|
||||||
$torrentSensitiveId
|
->getRepository(TorrentSensitive::class)
|
||||||
);
|
->find($torrentSensitiveId);
|
||||||
|
|
||||||
$torrentSensitive->setApproved(
|
$torrentSensitive->setApproved(
|
||||||
!$torrentSensitive->isApproved() // toggle current value
|
!$torrentSensitive->isApproved() // toggle current value
|
||||||
|
Loading…
Reference in New Issue
Block a user