diff options
author | Byron Jones <bjones@mozilla.com> | 2013-02-19 06:50:58 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-02-19 06:50:58 +0100 |
commit | ce7169dc8be336da570202e818033a7098012e83 (patch) | |
tree | 18110fb4d7624d6701120a52529938948ebe5235 /report.cgi | |
parent | af17848d5a0395fffa6db2d83d682407a5a4fcb5 (diff) | |
download | bugzilla-ce7169dc8be336da570202e818033a7098012e83.tar.gz bugzilla-ce7169dc8be336da570202e818033a7098012e83.tar.xz |
Bug 824399
Diffstat (limited to 'report.cgi')
-rwxr-xr-x | report.cgi | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/report.cgi b/report.cgi index 5d5033b7d..7bff62be9 100755 --- a/report.cgi +++ b/report.cgi @@ -226,7 +226,13 @@ $vars->{'width'} = $width if $width; $vars->{'height'} = $height if $height; $vars->{'query'} = $query; -$vars->{'debug'} = $cgi->param('debug'); + +if ($cgi->param('debug') + && Bugzilla->params->{debug_group} + && Bugzilla->user->in_group(Bugzilla->params->{debug_group}) +) { + $vars->{'debug'} = 1; +} if ($action eq "wrap") { # So which template are we using? If action is "wrap", we will be using |