changes emailer, bottom right, static pages
This commit is contained in:
commit
33e9a512e3
|
@ -97,7 +97,7 @@ class ItfModel(models.Model):
|
||||||
else:
|
else:
|
||||||
imgfield = self.get_modelextra().default_image #FIXME!!
|
imgfield = self.get_modelextra().default_image #FIXME!!
|
||||||
|
|
||||||
if imgfield.name == '':
|
if imgfield is None or imgfield.name == '':
|
||||||
imgfield = self.get_modelextra().default_image
|
imgfield = self.get_modelextra().default_image
|
||||||
|
|
||||||
if imgfield:
|
if imgfield:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user