summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-03-26 05:37:52 +0100
committerByron Jones <glob@mozilla.com>2015-03-26 05:37:52 +0100
commita41ac004cbee6f6d0735070bf6bdcd55cbb7a2cf (patch)
tree4ca785520748942be2120b345e4ae14281fa0f66
parent1de6cbdb2ca9077826fb9570c201805c8c2d1ec5 (diff)
downloadbugzilla-a41ac004cbee6f6d0735070bf6bdcd55cbb7a2cf.tar.gz
bugzilla-a41ac004cbee6f6d0735070bf6bdcd55cbb7a2cf.tar.xz
Bug 1147740: map format=default to format=__default__
-rw-r--r--extensions/BugModal/Extension.pm2
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;
}