fix check imagekey

This commit is contained in:
Anthony Calosa
2022-07-25 07:00:48 +08:00
committed by GitHub
parent 613deeddb7
commit 0e79ddf8d8

View File

@@ -229,7 +229,10 @@ public class ImageCache {
if (card != null)
imageKey = altState ? card.getCardAltImageKey() : card.getCardImageKey();
if (StringUtils.isBlank(imageKey)) {
return defaultImage;
if (useDefaultIfNotFound)
return defaultImage;
else
return null;
}
}