diff options
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-x | attachment.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/attachment.cgi b/attachment.cgi index 8b9bdaafd..0ed608c52 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -1251,7 +1251,7 @@ sub update # If the user submitted a comment while editing the attachment, # add the comment to the bug. - if (defined $cgi->param('comment')) + if ($cgi->param('comment')) { # Prepend a string to the comment to let users know that the comment came # from the "edit attachment" screen. |