From c068e2b90f06f898217dc9919371a583517d985e Mon Sep 17 00:00:00 2001 From: "jake%bugzilla.org" <> Date: Tue, 21 Dec 2004 17:04:00 +0000 Subject: Bug 264601 - Bugzilla will now tell a user which field contained an "invalid bug number or alias." Patch by Frédéric Buclin r=myk, a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- attachment.cgi | 5 ----- 1 file changed, 5 deletions(-) (limited to 'attachment.cgi') diff --git a/attachment.cgi b/attachment.cgi index 31dcd12e7..b486bf6db 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -1060,11 +1060,6 @@ sub update # Get the bug ID for the bug to which this attachment is attached. SendSQL("SELECT bug_id FROM attachments WHERE attach_id = $::FORM{'id'}"); my $bugid = FetchSQLData(); - unless ($bugid) - { - ThrowUserError("invalid_bug_id", - { bug_id => $bugid }); - } # Lock database tables in preparation for updating the attachment. SendSQL("LOCK TABLES attachments WRITE , flags WRITE , " . -- cgit v1.2.3-24-g4f1b