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

r= joel x2
parent be0b080b
...@@ -38,6 +38,7 @@ package Bugzilla::Search; ...@@ -38,6 +38,7 @@ package Bugzilla::Search;
use Bugzilla::Util; use Bugzilla::Util;
use Date::Format; use Date::Format;
use Date::Parse;
# Create a new Search # Create a new Search
sub new { sub new {
...@@ -314,7 +315,7 @@ sub init { ...@@ -314,7 +315,7 @@ sub init {
"^long_?desc," => sub { "^long_?desc," => sub {
my $table = "longdescs_$chartid"; my $table = "longdescs_$chartid";
push(@supptables, "longdescs $table"); push(@supptables, "longdescs $table");
if (Param("insidergroup") && !UserInGroup(Param("insidergroup"))) { if (&::Param("insidergroup") && !&::UserInGroup(&::Param("insidergroup"))) {
push(@wherepart, "$table.isprivate < 1") ; push(@wherepart, "$table.isprivate < 1") ;
} }
push(@wherepart, "$table.bug_id = bugs.bug_id"); 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