From 4df037ee08661c9b102751e2c5580eb2184256a1 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 5 Jul 2007 11:04:05 -0700 Subject: [PATCH] * Handle arrayref empty maintainer --- cgi/pkgreport.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index 77817b4..062aef8 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -320,7 +320,7 @@ my $title = $gBugs.' '.join(' and ', map {/ or /?"($_)":$_} @title); @title = (); # we have to special case the maint="" search, unfortunatly. -if (defined $param{maint} and $param{maint} eq "") { +if (defined $param{maint} and $param{maint} eq "" or ref($param{maint}) and not @{$param{maint}}) { my %maintainers = %{getmaintainers()}; @bugs = get_bugs(function => sub {my %d=@_; -- 2.39.2