summaryrefslogtreecommitdiffstats
path: root/extensions/Needinfo
diff options
context:
space:
mode:
authorSebastin Santy <sebastinssanty@gmail.com>2017-03-15 20:51:59 +0100
committerDylan William Hardison <dylan@hardison.net>2017-03-15 20:52:12 +0100
commit5bfe41db82130ca568c9b57cb71f357b9a93b066 (patch)
treee702246f5fa03c8077600f615c9c41ea54cf5fac /extensions/Needinfo
parentac85576a8799ec12036bfb8bb93ac48f96830f1f (diff)
downloadbugzilla-5bfe41db82130ca568c9b57cb71f357b9a93b066.tar.gz
bugzilla-5bfe41db82130ca568c9b57cb71f357b9a93b066.tar.xz
Bug 1346162 - Needinfo is not checked for users that don't have canconfirm
Diffstat (limited to 'extensions/Needinfo')
-rw-r--r--extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
index 915379316..5b316e4b0 100644
--- a/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
+++ b/extensions/Needinfo/template/en/default/bug/needinfo.html.tmpl
@@ -158,7 +158,7 @@ $(function() {
<input type="checkbox" id="needinfo_override_[% flag.id FILTER html %]"
name="needinfo_override_[% flag.id FILTER html %]" value="1" class="needinfo-override"
[% 'data-is-self="1"' IF flag.requestee %]
- [% " checked" IF user.in_group("canconfirm") %]>
+ [% " checked" IF flag.requestee.id == user.id || user.in_group("canconfirm") %]>
</td>
<td>
<label for="needinfo_override_[% flag.id FILTER html %]">