From 8278901e227600d79a76fd083f0e0354635878f6 Mon Sep 17 00:00:00 2001 From: andy zheng Date: Fri, 5 Feb 2016 19:37:48 -0500 Subject: [PATCH] fix #6343 --- .../Orchard.MediaProcessing/Services/ImageProfileManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.MediaProcessing/Services/ImageProfileManager.cs b/src/Orchard.Web/Modules/Orchard.MediaProcessing/Services/ImageProfileManager.cs index 74004a8d5..9a348c1c1 100644 --- a/src/Orchard.Web/Modules/Orchard.MediaProcessing/Services/ImageProfileManager.cs +++ b/src/Orchard.Web/Modules/Orchard.MediaProcessing/Services/ImageProfileManager.cs @@ -112,7 +112,7 @@ namespace Orchard.MediaProcessing.Services { ImageProfilePart profilePart; - if (customFilters == null || !customFilters.Any()) { + if (customFilters == null || !customFilters.Any(c => c != null)) { profilePart = _profileService.GetImageProfileByName(profileName); if (profilePart == null) return String.Empty;