Make groupMatch work for scalar values (#792)

This commit is contained in:
Clément Oudot 2015-09-28 14:12:08 +00:00
parent 9dab72cbdc
commit a53d5c3fb9

View File

@ -174,6 +174,9 @@ sub groupMatch {
$match++ if ( $_ =~ /$value/ );
}
}
else {
$match++ if ( $groups->{$group}->{$attribute} =~ /$value/ );
}
}
return $match;
}