This commit is contained in:
andy zheng
2016-02-05 19:37:48 -05:00
parent c8ab7f187f
commit 8278901e22

View File

@@ -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;