never match undefined content
parent
3c70b97feb
commit
99b0ea2adb
|
@ -20,6 +20,7 @@ sub apply {
|
|||
|
||||
my $match = 1;
|
||||
my $arg = $self->{data}->{field};
|
||||
return 0 unless defined($arg);
|
||||
if ($arg eq "content"){
|
||||
$arg = $entry->content()->body;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue