diff options
author | mkanat%bugzilla.org <> | 2006-07-04 06:26:20 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-07-04 06:26:20 +0200 |
commit | b1f4cf8bdc4b49c02ebebbee2553202bc46ab720 (patch) | |
tree | 8dddf198fa0cb29b5cef3833ff3469f07d34fdf7 /Bugzilla/FlagType.pm | |
parent | 49979b3775108f709cefbc9190eb9c7546aace94 (diff) | |
download | bugzilla-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar.gz bugzilla-b1f4cf8bdc4b49c02ebebbee2553202bc46ab720.tar.xz |
Bug 342869: Use Bugzilla->params everywhere except templates
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'Bugzilla/FlagType.pm')
-rw-r--r-- | Bugzilla/FlagType.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/FlagType.pm b/Bugzilla/FlagType.pm index 572c4fad7..078f6de71 100644 --- a/Bugzilla/FlagType.pm +++ b/Bugzilla/FlagType.pm @@ -398,9 +398,9 @@ sub validate { # Throw an error if the target is a private attachment and # the requestee isn't in the group of insiders who can see it. if ($attach_id - && Param("insidergroup") + && Bugzilla->params->{"insidergroup"} && $cgi->param('isprivate') - && !$requestee->in_group(Param("insidergroup"))) + && !$requestee->in_group(Bugzilla->params->{"insidergroup"})) { ThrowUserError("flag_requestee_unauthorized_attachment", { flag_type => $flag_type, |