aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Dto/DtoService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-02-21 02:32:49 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-02-21 02:32:49 -0500
commit59e005e97609e5f5ea742a94cdd8ffa5c5013e88 (patch)
tree94f1970657ec7718fda0bcd5b97f45e6bf6cdc28 /MediaBrowser.Server.Implementations/Dto/DtoService.cs
parentd2b31461087d73ddd44690291dcbc8abbb0d789f (diff)
add image magick libs
Diffstat (limited to 'MediaBrowser.Server.Implementations/Dto/DtoService.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Dto/DtoService.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
index c49a24110..b15809738 100644
--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs
+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
@@ -911,7 +911,8 @@ namespace MediaBrowser.Server.Implementations.Dto
// Prevent implicitly captured closure
var currentItem = item;
- foreach (var image in currentItem.ImageInfos.Where(i => !currentItem.AllowsMultipleImages(i.Type)))
+ foreach (var image in currentItem.ImageInfos.Where(i => !currentItem.AllowsMultipleImages(i.Type))
+ .ToList())
{
if (options.GetImageLimit(image.Type) > 0)
{