summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports
diff options
context:
space:
mode:
authorKoosha Khajeh Moogahi <koosha.khajeh@gmail.com>2012-09-19 21:11:15 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-09-19 21:11:15 +0200
commitccf50a2c6a7765bdec9d8b738367f93be679798c (patch)
tree8e0dfdebcc0a343c47dfd7a88987ab3ebf319381 /template/en/default/reports
parent968667bb92b2f2e93e5c1b32b1aae36bacaf6a07 (diff)
downloadbugzilla-ccf50a2c6a7765bdec9d8b738367f93be679798c.tar.gz
bugzilla-ccf50a2c6a7765bdec9d8b738367f93be679798c.tar.xz
Bug 445861: $component->default_qa_contact should not return the default user object when no default QA contact is defined
r/a=LpSolit
Diffstat (limited to 'template/en/default/reports')
-rw-r--r--template/en/default/reports/components.html.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/en/default/reports/components.html.tmpl b/template/en/default/reports/components.html.tmpl
index d1c9ac4d0..2a5d2399b 100644
--- a/template/en/default/reports/components.html.tmpl
+++ b/template/en/default/reports/components.html.tmpl
@@ -80,7 +80,9 @@
</td>
[% IF Param("useqacontact") %]
<td class="component_qa_contact">
- [% INCLUDE global/user.html.tmpl who = comp.default_qa_contact %]
+ [% IF comp.default_qa_contact %]
+ [% INCLUDE global/user.html.tmpl who = comp.default_qa_contact %]
+ [% END %]
</td>
[% END %]
</tr>