]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 164566 - Param and UserInGroup are not defined in Bugzilla::Search
authorbbaetz%student.usyd.edu.au <>
Mon, 26 Aug 2002 12:11:57 +0000 (12:11 +0000)
committerbbaetz%student.usyd.edu.au <>
Mon, 26 Aug 2002 12:11:57 +0000 (12:11 +0000)
r= joel x2

Bugzilla/Search.pm

index c79e25d08beaf9c02f016ab1831c0d96735a6032..562a68e483f028fdebbf794362eb7f98c31fd5a4 100644 (file)
@@ -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");