Bug 164566 - Param and UserInGroup are not defined in Bugzilla::Search

r= joel x2
parent be0b080b
......@@ -38,6 +38,7 @@ package Bugzilla::Search;
use Bugzilla::Util;
use Date::Format;
use Date::Parse;
# Create a new Search
sub new {
......@@ -314,7 +315,7 @@ sub init {
"^long_?desc," => sub {
my $table = "longdescs_$chartid";
push(@supptables, "longdescs $table");
if (Param("insidergroup") && !UserInGroup(Param("insidergroup"))) {
if (&::Param("insidergroup") && !&::UserInGroup(&::Param("insidergroup"))) {
push(@wherepart, "$table.isprivate < 1") ;
}
push(@wherepart, "$table.bug_id = bugs.bug_id");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment