|
|
@ -1209,10 +1209,17 @@ class TorrentService |
|
|
|
$torrent->setTorrentPosterId( |
|
|
|
$torrent->setTorrentPosterId( |
|
|
|
$torrentPoster->getId() |
|
|
|
$torrentPoster->getId() |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$this->entityManagerInterface->persist($torrent); |
|
|
|
else |
|
|
|
$this->entityManagerInterface->flush(); |
|
|
|
{ |
|
|
|
|
|
|
|
$torrent->setTorrentPosterId( |
|
|
|
|
|
|
|
null |
|
|
|
|
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$this->entityManagerInterface->persist($torrent); |
|
|
|
|
|
|
|
$this->entityManagerInterface->flush(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|