diff options
author | jake%bugzilla.org <> | 2004-12-21 18:04:00 +0100 |
---|---|---|
committer | jake%bugzilla.org <> | 2004-12-21 18:04:00 +0100 |
commit | c068e2b90f06f898217dc9919371a583517d985e (patch) | |
tree | dc5845ff868e095bfe6d7c075a5eeebba781a702 /attachment.cgi | |
parent | f21cae35b182db1feccab05c3c2ad57357342dbe (diff) | |
download | bugzilla-c068e2b90f06f898217dc9919371a583517d985e.tar.gz bugzilla-c068e2b90f06f898217dc9919371a583517d985e.tar.xz |
Bug 264601 - Bugzilla will now tell a user which field contained an "invalid bug number or alias."
Patch by Frédéric Buclin <LpSolit@netscape.net>
r=myk, a=justdave
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-x | attachment.cgi | 5 |
1 files changed, 0 insertions, 5 deletions
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 , " . |