summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-21 22:42:14 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-21 22:42:14 +0000
commitbbb1c616f61a8c570d61bf983dbcd90597542279 (patch)
tree76133d17599b9f2511d5c65cc5822a356c1f2b14
parent30b3a857731f27188ec39fac38c10568206427a5 (diff)
downloadmgaonline-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-xmdkapplet-extended-maintenance-helper2
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;