Skip to content

Commit

Permalink
HTML Emails: Fix possible UndefinedError in jinja template
Browse files Browse the repository at this point in the history
CMK-21497

Change-Id: Ib3e45fcaaff63f279303e972d233bc985c4a3007
  • Loading branch information
makanakoeln committed Jan 30, 2025
1 parent 6cda3ca commit b7eaca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notifications/templates/mail/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
{% if elements_without_graph %}
{% include 'additional.html' %}
{% endif %}
{% if data.PARAMETER_CONTACT_GROUPS %}
{% if data.PARAMETER_CONTACT_GROUPS and data.HOSTCONTACTGROUPNAMES|default(false) %}
{% include 'contact_groups.html' %}
{% endif %}
{% if service_notification and data.PARAMETER_SVC_LABELS %}
Expand Down

0 comments on commit b7eaca7

Please sign in to comment.