Commit cfeea8ec authored by Xavier Guimard's avatar Xavier Guimard

Typo in regexp (closes: #953)

parent 891a6521
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment