Typo in regexp (closes: #953)

environments/ppa-mbqj77/deployments/1
Xavier Guimard 9 years ago
parent 891a6521a5
commit cfeea8ec79
  1. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Notifications.pm

@ -162,7 +162,7 @@ sub notifications {
{
while ( my ( $field, $value ) = each %filters ) {
$value =~ s/\*/\.\*/g;
$value = qr/$value/;
$value = qr/^$value$/;
foreach my $k ( keys %$notifs ) {
delete $notifs->{$k}
unless ( $notifs->{$k}->{$field} =~ $value );

Loading…
Cancel
Save