mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
Use already defined variable
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
7f52f77ef5
commit
2a1ca4badc
@ -1094,7 +1094,7 @@ namespace Emby.Server.Implementations.Dto
|
||||
{
|
||||
if (item is IHasTrailers hasTrailers)
|
||||
{
|
||||
dto.LocalTrailerCount = (item as IHasTrailers).LocalTrailers.Count;
|
||||
dto.LocalTrailerCount = hasTrailers.LocalTrailers.Count;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user