From 412e21f53d6bf1be9efe9d92a7e00b01a3d592f4 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 15 Jun 2007 20:21:16 +0100 Subject: [PATCH] don't autovivify {package} in __handle_pkg_src_and_maint --- Debbugs/Bugs.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Debbugs/Bugs.pm b/Debbugs/Bugs.pm index 0eaaa28d..2399102d 100644 --- a/Debbugs/Bugs.pm +++ b/Debbugs/Bugs.pm @@ -510,7 +510,8 @@ sub __handle_pkg_src_and_maint{ allow_extra => 1, ); - my @packages = make_list($param{package}); + my @packages; + @packages = make_list($param{package}) if exists $param{package}; my $package_keys = @packages?1:0; my %packages; @packages{@packages} = (1) x @packages; -- 2.39.5