Skip to content

Commit

Permalink
Merge pull request #10501 from piwik/metadatasupportfix
Browse files Browse the repository at this point in the history
Fix possible twig error in updater if support is defined but no email
  • Loading branch information
tsteur committed Sep 14, 2016
2 parents aa17b8c + 3c7f32a commit 7a2f3c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/CorePluginsAdmin/templates/macros.twig
Expand Up @@ -120,6 +120,7 @@

{% if metadata is defined
and metadata.support is defined
and metadata.support.email is defined
and metadata.support.email
and pluginName not in marketplacePluginNames %}
{{ 'CorePluginsAdmin_EmailToEnquireUpdatedVersion'|translate('<a href="mailto:' ~ metadata.support.email|e('html_attr') ~'">' ~ metadata.support.email ~ '</a>', pluginName)|raw }}
Expand Down

0 comments on commit 7a2f3c5

Please sign in to comment.