From 439a2fffc511adfa747316f890f03a1ea45c3314 Mon Sep 17 00:00:00 2001 From: James South Date: Mon, 16 Feb 2015 12:07:36 +0000 Subject: [PATCH] Fix issue #125 Former-commit-id: 3d88825a483ed7a214b6614f0eae52778b504e92 Former-commit-id: c538ee57e5a4d9512931cc9f4b79fc24fc4532dc --- src/ImageProcessor.Web/Helpers/ImageHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageProcessor.Web/Helpers/ImageHelpers.cs b/src/ImageProcessor.Web/Helpers/ImageHelpers.cs index 6b2ea9eb5..22d73d537 100644 --- a/src/ImageProcessor.Web/Helpers/ImageHelpers.cs +++ b/src/ImageProcessor.Web/Helpers/ImageHelpers.cs @@ -67,7 +67,7 @@ namespace ImageProcessor.Web.Helpers // First check to see if the format processor is being used and test against that. IWebGraphicsProcessor format = ImageProcessorConfiguration.Instance.GraphicsProcessors - .First(p => typeof(Format) == p.GetType()); + .FirstOrDefault(p => typeof(Format) == p.GetType()); if (format != null) {