Browse Source

Fix issue #125

Former-commit-id: a05a67dfc14d5fa72c13d456e287619970821a48
Former-commit-id: c1cfe0d3ad481697fba204782e63c4e19ba6f979
pull/17/head
James South 11 years ago
parent
commit
ee98a52074
  1. 2
      src/ImageProcessor.Web/Helpers/ImageHelpers.cs

2
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)
{

Loading…
Cancel
Save