summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin <dsylva@gitlab.com>2019-04-24 18:04:59 -1000
committerDevin <dsylva@gitlab.com>2019-04-24 18:04:59 -1000
commitbf3004a5b46d5b7e151d93da9234bf242461b7d5 (patch)
treefac9e72577ff6fe23c4697e51d9653bda9041113
parentd7bce4161c0c062c12833db6ad254dd3d545e182 (diff)
downloadgitlab-ce-bf3004a5b46d5b7e151d93da9234bf242461b7d5.tar.gz
Removed email field if it's empty as atom spec requires
-rw-r--r--app/views/issues/_issue.atom.builder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_issue.atom.builder b/app/views/issues/_issue.atom.builder
index 39bed8cf0ff..1048513e192 100644
--- a/app/views/issues/_issue.atom.builder
+++ b/app/views/issues/_issue.atom.builder
@@ -7,7 +7,7 @@ xml.entry do
xml.author do
xml.name issue.author_name
- xml.email issue.author_public_email
+ xml.email issue.author_public_email if issue.author_public_email
end
xml.summary issue.title