From: Emilie
Date: Wed, 23 Nov 2016 11:08:45 +0000 (+0100)
Subject: Event : correcting no price comments
X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=63abd4aab04880e5d0e2aeeb208e1649870be978;p=mezzo.git
Event : correcting no price comments
---
diff --git a/app/templates/agenda/includes/event_metainfo.html b/app/templates/agenda/includes/event_metainfo.html
index 9234d523..4c6adc7d 100644
--- a/app/templates/agenda/includes/event_metainfo.html
+++ b/app/templates/agenda/includes/event_metainfo.html
@@ -71,7 +71,7 @@
{% endif %}
{% else %}
- {% if event.prices.all.0|floatformat != '0' %}
+ {% if event.prices.all.0 and event.prices.all.0|floatformat != '0' %}
{{ price.unit }}