diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-21 22:42:14 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-21 22:42:14 +0000 |
commit | bbb1c616f61a8c570d61bf983dbcd90597542279 (patch) | |
tree | 76133d17599b9f2511d5c65cc5822a356c1f2b14 | |
parent | 30b3a857731f27188ec39fac38c10568206427a5 (diff) | |
download | mgaonline-bbb1c616f61a8c570d61bf983dbcd90597542279.tar mgaonline-bbb1c616f61a8c570d61bf983dbcd90597542279.tar.gz mgaonline-bbb1c616f61a8c570d61bf983dbcd90597542279.tar.bz2 mgaonline-bbb1c616f61a8c570d61bf983dbcd90597542279.tar.xz mgaonline-bbb1c616f61a8c570d61bf983dbcd90597542279.zip |
(add_extmaint_medium) fix detecting if we have the proper rights
-rwxr-xr-x | mdkapplet-extended-maintenance-helper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet-extended-maintenance-helper b/mdkapplet-extended-maintenance-helper index d9becdef..190b3bec 100755 --- a/mdkapplet-extended-maintenance-helper +++ b/mdkapplet-extended-maintenance-helper @@ -120,7 +120,7 @@ sub add_extmaint_medium { my $in = interactive->vnew; $in->ask_warn(N("Error"), N("An error occurred") . "\n" . $ref->{message}); goto &get_extmaint_authentication; - } elsif ($ref->{data}{'can-access-restricted-repositories'} ne 'YES') { + } elsif (!ref($ref->{data}{groups}{'ext-maint-' . $version})) { no_rights_dialog(); } else { $error = 0; |