summaryrefslogtreecommitdiffstats
path: root/mdkapplet-extended-maintenance-helper
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet-extended-maintenance-helper')
-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;