summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-04-16 03:33:27 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2015-04-16 03:33:27 +0200
commitdc3e779d94ef2be397660f102240d1d9c83d5147 (patch)
tree38f96f633b94b7b921a16d33ca6310e41075783a
parent13bd4ea98c5a4431b9b6849450e7761f6d29115a (diff)
downloadbugzilla-dc3e779d94ef2be397660f102240d1d9c83d5147.tar.gz
bugzilla-dc3e779d94ef2be397660f102240d1d9c83d5147.tar.xz
Fix an uninitialized value warning, see bug 1059684
-rwxr-xr-xprocess_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index a39f0cc45..3deeb5f2e 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -234,7 +234,7 @@ if (should_set('keywords')) {
}
if (should_set('comment')) {
my $is_markdown = ($user->use_markdown
- && $cgi->param('use_markdown') eq '1') ? 1 : 0;
+ && $cgi->param('use_markdown')) ? 1 : 0;
$set_all_fields{comment} = {
body => scalar $cgi->param('comment'),