aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
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;
}