Don't include the email line if email is absent

master
Daniel Berteaud 9 years ago
parent 8c80309184
commit b096c9b1e6
  1. 2
      templates/default/feedback.mail.ep

@ -1,7 +1,9 @@
<html> <html>
<p> <p>
% if ($email && $email ne ''){
<%= l('FROM') %>: <%= $email %> <%= l('FROM') %>: <%= $email %>
</p> </p>
% }
<p> <p>
<%= l('COMMENT') %>: <%= $comment %> <%= l('COMMENT') %>: <%= $comment %>
</p> </p>

Loading…
Cancel
Save