summaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-02-19 06:50:58 +0100
committerByron Jones <bjones@mozilla.com>2013-02-19 06:50:58 +0100
commitce7169dc8be336da570202e818033a7098012e83 (patch)
tree18110fb4d7624d6701120a52529938948ebe5235 /report.cgi
parentaf17848d5a0395fffa6db2d83d682407a5a4fcb5 (diff)
downloadbugzilla-ce7169dc8be336da570202e818033a7098012e83.tar.gz
bugzilla-ce7169dc8be336da570202e818033a7098012e83.tar.xz
Bug 824399
Diffstat (limited to 'report.cgi')
-rwxr-xr-xreport.cgi8
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