From 68eaa9772eeb1583fa7b99fd2a03dd7818577af7 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Fri, 23 Jul 2010 02:43:42 +0000 Subject: - fix deferencement on hash (instead hashref), warning triggered by perl 5.12 --- URPM/Resolve.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'URPM') diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index ce2cb4e..70105d3 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -1699,7 +1699,7 @@ sub request_packages_to_upgrade { $pkg = undef; } } - if ($pkg && %options->{idlist} && !grep { $pkg->id == $_ } @{%options->{idlist}}) { + if ($pkg && $options{idlist} && !grep { $pkg->id == $_ } @{$options{idlist}}) { $urpm->{debug_URPM}("not auto-selecting $pkg->fullname because it's not in search medias") if $urpm->{debug_URPM}; $pkg = undef; } -- cgit v1.2.1