mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-03 16:59:32 -05:00
Apply fixes from StyleCI
This commit is contained in:
@@ -826,13 +826,13 @@ class TorrentController extends Controller
|
||||
if ($torrent->tmdb && $torrent->tmdb != 0) {
|
||||
$movie = $client->scrape('tv', null, $torrent->tmdb);
|
||||
} else {
|
||||
$movie = $client->scrape('tv', 'tt' . $torrent->imdb);
|
||||
$movie = $client->scrape('tv', 'tt'.$torrent->imdb);
|
||||
}
|
||||
} else {
|
||||
if ($torrent->tmdb && $torrent->tmdb != 0) {
|
||||
$movie = $client->scrape('movie', null, $torrent->tmdb);
|
||||
} else {
|
||||
$movie = $client->scrape('movie', 'tt' . $torrent->imdb);
|
||||
$movie = $client->scrape('movie', 'tt'.$torrent->imdb);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user