wha?
This commit is contained in:
parent
61616293c8
commit
849a673f8b
|
@ -262,7 +262,8 @@ class ItfModel(models.Model):
|
|||
imgfield = main_image_getter
|
||||
|
||||
if imgfield is None or imgfield.name == '':
|
||||
imgfield = self.get_modelextra().default_image
|
||||
if self.get_modelextra():
|
||||
imgfield = self.get_modelextra().default_image
|
||||
|
||||
if imgfield:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user