summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-06-21 07:20:49 +0200
committerlpsolit%gmail.com <>2005-06-21 07:20:49 +0200
commit0b8d70a6a120da140ed41b37c5d98a902e16cae4 (patch)
tree28206879ab81be477a0d5dd38c915a389f148e4d /attachment.cgi
parent05843d27d99eb3ee3d6ac400d48af97f23760f44 (diff)
downloadbugzilla-0b8d70a6a120da140ed41b37c5d98a902e16cae4.tar.gz
bugzilla-0b8d70a6a120da140ed41b37c5d98a902e16cae4.tar.xz
Backing out bug 180792. A table is locked as READ while my patch tries to write in it :(
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 0ed608c52..8b9bdaafd 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 ($cgi->param('comment'))
+ if (defined $cgi->param('comment'))
{
# Prepend a string to the comment to let users know that the comment came
# from the "edit attachment" screen.