summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r--Bugzilla/Bug.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index d3f28f74a..5f6a5ba66 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -2406,7 +2406,8 @@ sub _check_priority {
# adding setpriority check
if ( !ref $invocant
&& !Bugzilla->params->{'letsubmitterchoosepriority'}
- && !Bugzilla->user->in_group('setpriority'))
+ && !($invocant->classification eq 'Red Hat'
+ && Bugzilla->user->in_group('setpriority')))
{
$priority = Bugzilla->params->{'defaultpriority'};
}