aboutsummaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authorjake%bugzilla.org <>2004-12-21 17:04:00 +0000
committerjake%bugzilla.org <>2004-12-21 17:04:00 +0000
commitc068e2b90f06f898217dc9919371a583517d985e (patch)
treedc5845ff868e095bfe6d7c075a5eeebba781a702 /attachment.cgi
parentf21cae35b182db1feccab05c3c2ad57357342dbe (diff)
downloadbugs-c068e2b90f06f898217dc9919371a583517d985e.tar
bugs-c068e2b90f06f898217dc9919371a583517d985e.tar.gz
bugs-c068e2b90f06f898217dc9919371a583517d985e.tar.bz2
bugs-c068e2b90f06f898217dc9919371a583517d985e.tar.xz
bugs-c068e2b90f06f898217dc9919371a583517d985e.zip
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-xattachment.cgi5
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 , " .