summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-08-26 14:11:57 +0200
committerbbaetz%student.usyd.edu.au <>2002-08-26 14:11:57 +0200
commitafcc409ba829a9f01d2d3507f14e425c84d1cdc4 (patch)
tree5da50ab9c0afdd7216e69ae0eeb6b9ff4a118509
parentbe0b080ba47cf3431119d61c5b1ef4c443d318f4 (diff)
downloadbugzilla-afcc409ba829a9f01d2d3507f14e425c84d1cdc4.tar.gz
bugzilla-afcc409ba829a9f01d2d3507f14e425c84d1cdc4.tar.xz
Bug 164566 - Param and UserInGroup are not defined in Bugzilla::Search
r= joel x2
-rw-r--r--Bugzilla/Search.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index c79e25d08..562a68e48 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -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");