From 4d9d105d21339e7236c69f47ce26f195749c3d10 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 8 May 2018 18:57:37 +0200 Subject: Fix display of images when image is missing on the HD --- ishtar_common/templates/widgets/image_input.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ishtar_common/templates/widgets') diff --git a/ishtar_common/templates/widgets/image_input.html b/ishtar_common/templates/widgets/image_input.html index 7f8f62482..e03aa9153 100644 --- a/ishtar_common/templates/widgets/image_input.html +++ b/ishtar_common/templates/widgets/image_input.html @@ -1,5 +1,5 @@ {% load i18n %}
- {% if widget.value.url or hidden_value %} + {% if widget.value and widget.value.url or hidden_value %}