Don't include the email line if email is absent

This commit is contained in:
Daniel Berteaud 2015-07-26 18:30:54 +02:00
parent 8c80309184
commit b096c9b1e6
1 changed files with 2 additions and 0 deletions

View File

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