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 /buglist.cgi | |
parent | af17848d5a0395fffa6db2d83d682407a5a4fcb5 (diff) | |
download | bugzilla-ce7169dc8be336da570202e818033a7098012e83.tar.gz bugzilla-ce7169dc8be336da570202e818033a7098012e83.tar.xz |
Bug 824399
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi index e3c56cd24..517aa4507 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -787,7 +787,10 @@ $params->delete('limit') if $vars->{'default_limited'}; # Query Execution ################################################################################ -if ($cgi->param('debug')) { +if ($cgi->param('debug') + && Bugzilla->params->{debug_group} + && $user->in_group(Bugzilla->params->{debug_group}) +) { $vars->{'debug'} = 1; $vars->{'query'} = $query; # Explains are limited to admins because you could use them to figure |