Commit dc3e779d authored by Frédéric Buclin's avatar Frédéric Buclin

Fix an uninitialized value warning, see bug 1059684

parent 13bd4ea9
...@@ -234,7 +234,7 @@ if (should_set('keywords')) { ...@@ -234,7 +234,7 @@ if (should_set('keywords')) {
} }
if (should_set('comment')) { if (should_set('comment')) {
my $is_markdown = ($user->use_markdown my $is_markdown = ($user->use_markdown
&& $cgi->param('use_markdown') eq '1') ? 1 : 0; && $cgi->param('use_markdown')) ? 1 : 0;
$set_all_fields{comment} = { $set_all_fields{comment} = {
body => scalar $cgi->param('comment'), body => scalar $cgi->param('comment'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment