aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-09-20 13:45:37 -0400
committerGitHub <noreply@github.com>2017-09-20 13:45:37 -0400
commit81843431a4a5763ccf8af7165f4876b203ca24f5 (patch)
treeb90a430eedfb2b41ee5df6177887000924839da2 /Emby.Server.Implementations
parent8d899f9d53e0016b0423966209f3ed8e68d99e2d (diff)
parent8117d31d2f7a02d68232950ecf26c7c31efdbda3 (diff)
Merge pull request #2900 from MediaBrowser/master
master
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/Dto/DtoService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.cs
index 1854829a24..c5fcc0e4c3 100644
--- a/Emby.Server.Implementations/Dto/DtoService.cs
+++ b/Emby.Server.Implementations/Dto/DtoService.cs
@@ -571,7 +571,7 @@ namespace Emby.Server.Implementations.Dto
}
}
- if (/*!(item is LiveTvProgram) ||*/ fields.Contains(ItemFields.PlayAccess))
+ if (!(item is LiveTvProgram) || fields.Contains(ItemFields.PlayAccess))
{
dto.PlayAccess = item.GetPlayAccess(user);
}