From 8d67e86a56de870d2a76f0bc5d0dfa53af664a73 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 19 Oct 2005 00:45:47 +0000 Subject: Bug 302936: Reject the requestee if he cannot access private attachments - Patch by Frédéric Buclin r=jouni a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/FlagType.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla/FlagType.pm') diff --git a/Bugzilla/FlagType.pm b/Bugzilla/FlagType.pm index a7a32c5cc..950aeea9a 100644 --- a/Bugzilla/FlagType.pm +++ b/Bugzilla/FlagType.pm @@ -320,6 +320,9 @@ to extract flag type IDs from form field names by matching columns whose name looks like "flag_type-nnn", where "nnn" is the ID, and returning just the ID portion of matching field names. +If the attachment is new, it has no ID yet and $attach_id is set +to -1 to force its check anyway. + =back =cut -- cgit v1.2.3-24-g4f1b