check_acl call fixes

This commit is contained in:
Oliver Gorwits
2017-05-30 11:38:34 +01:00
parent e0d2517387
commit d007d72015
4 changed files with 8 additions and 7 deletions

View File

@@ -73,7 +73,7 @@ foreach my $d (@devices) {
my $old = $d->get_column( 'old' );
my $devgroup = 'other';
foreach my $g (keys %$groups) {
if (check_acl( $d, $groups->{$g} )) {
if (check_acl_only( $d, $groups->{$g} )) {
$devgroup = $g;
last;
}