diff options
author | 2014-10-28 03:03:39 +0000 | |
---|---|---|
committer | 2014-10-28 03:03:39 +0000 | |
commit | 3eb1f9f9c91fb630090420a8c726091f23c29263 (patch) | |
tree | c0d1aa40f6424eaf3c8020ea6805ea6c5d66a2c5 /process_bug.cgi | |
parent | Bug 1083081 - javascript concatenation should insert a semicolon between files (diff) | |
download | bugzilla-3eb1f9f9c91fb630090420a8c726091f23c29263.tar.gz bugzilla-3eb1f9f9c91fb630090420a8c726091f23c29263.tar.bz2 bugzilla-3eb1f9f9c91fb630090420a8c726091f23c29263.zip |
Bug 1059684 - markdown text should not be rendered within a <pre> tag
r=glob,a=glob
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/process_bug.cgi b/process_bug.cgi index b47a3b1cf..b3d979960 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -233,8 +233,8 @@ if (should_set('keywords')) { $set_all_fields{keywords}->{$action} = $cgi->param('keywords'); } if (should_set('comment')) { - my $is_markdown = ($user->settings->{use_markdown}->{is_enabled} && - $cgi->param('use_markdown')) ? 1 : 0; + my $is_markdown = ($user->use_markdown + && $cgi->param('use_markdown') eq '1') ? 1 : 0; $set_all_fields{comment} = { body => scalar $cgi->param('comment'), |