From 0b8d70a6a120da140ed41b37c5d98a902e16cae4 Mon Sep 17 00:00:00 2001
From: "lpsolit%gmail.com" <>
Date: Tue, 21 Jun 2005 05:20:49 +0000
Subject: Backing out bug 180792. A table is locked as READ while my patch
 tries to write in it :(

---
 attachment.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'attachment.cgi')

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.
-- 
cgit v1.2.1