Typo in regexp (closes: #953)
This commit is contained in:
parent
891a6521a5
commit
cfeea8ec79
|
@ -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…
Reference in New Issue
Block a user