summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorPami Ketolainen <pami.ketolainen@jollamobile.com>2014-09-18 11:08:07 +0200
committerByron Jones <glob@mozilla.com>2014-09-18 11:08:07 +0200
commitc07333d9c122bd6751e31dae5a7c49901f6518b2 (patch)
tree3d19b5f95e0d8db87b3a5b827fc2c10223479f81 /process_bug.cgi
parentaf46080505c3103888846c59551f41e0af823bb1 (diff)
downloadbugzilla-c07333d9c122bd6751e31dae5a7c49901f6518b2.tar.gz
bugzilla-c07333d9c122bd6751e31dae5a7c49901f6518b2.tar.xz
Bug 1068521: "Use of uninitialized value" warnings
r=glob,a=glob
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 4b35bf432..b47a3b1cf 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->settings->{use_markdown}->{is_enabled} &&
- $cgi->param('use_markdown') eq '1') ? 1 : 0;
+ $cgi->param('use_markdown')) ? 1 : 0;
$set_all_fields{comment} = {
body => scalar $cgi->param('comment'),