diff options
author | lpsolit%gmail.com <> | 2006-08-25 00:56:39 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-08-25 00:56:39 +0200 |
commit | 41e381d9d5d1fe53fbf92127c3f65eac4f531f36 (patch) | |
tree | f1d680fa63706d55f3a9720e3d9bb821e9d2eca4 /attachment.cgi | |
parent | 6d154983302359ba9d38e1ff659c580853f68c2d (diff) | |
download | bugzilla-41e381d9d5d1fe53fbf92127c3f65eac4f531f36.tar.gz bugzilla-41e381d9d5d1fe53fbf92127c3f65eac4f531f36.tar.xz |
Bug 343809: Merge FlagType::validate() with Flag::validate() - Patch by Frédéric Buclin <LpSolit@gmail.com> a=myk
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-x | attachment.cgi | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/attachment.cgi b/attachment.cgi index 6545f149e..7292f014d 100755 --- a/attachment.cgi +++ b/attachment.cgi @@ -643,14 +643,13 @@ sub update validatePrivate(); my $dbh = Bugzilla->dbh; - # The order of these function calls is important, as both Flag::validate - # and FlagType::validate assume User::match_field has ensured that the - # values in the requestee fields are legitimate user email addresses. + # The order of these function calls is important, as Flag::validate + # assumes User::match_field has ensured that the values in the + # requestee fields are legitimate user email addresses. Bugzilla::User::match_field($cgi, { '^requestee(_type)?-(\d+)$' => { 'type' => 'multi' } }); Bugzilla::Flag::validate($cgi, $bugid, $attach_id); - Bugzilla::FlagType::validate($cgi, $bugid, $attach_id); my $bug = new Bugzilla::Bug($bugid); # Lock database tables in preparation for updating the attachment. |