From d755df6b0d8636240520f66680972e9e70f98860 Mon Sep 17 00:00:00 2001 From: minima Date: Fri, 14 Sep 2001 00:13:21 +0000 Subject: [PATCH] prevent empty PC41 fields from polluting data base --- perl/DXProt.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 84ce9893..181c75b0 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -969,7 +969,7 @@ sub normal # my $ref = Route::get($call) || Route->new($call); # return unless $self->in_filter_route($ref); - if ($field[3] eq $field[2]) { + if ($field[3] eq $field[2] || field[3] =~ /^\s*$/) { dbg('PCPROT: invalid value') if isdbg('chanerr'); return; } -- 2.43.0