diff options
-rw-r--r-- | extensions/BugModal/Extension.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BugModal/Extension.pm b/extensions/BugModal/Extension.pm index d3dac3976..3c23d0b90 100644 --- a/extensions/BugModal/Extension.pm +++ b/extensions/BugModal/Extension.pm @@ -45,7 +45,7 @@ sub edit_bug_format { sub _alternative_show_bug_format { my $user = Bugzilla->user; if (my $format = Bugzilla->cgi->param('format')) { - return uc($format) eq '__DEFAULT__' ? undef : $format; + return ($format eq '__default__' || $format eq 'default') ? undef : $format; } return $user->setting('ui_experiments') eq 'on' ? 'modal' : undef; } |