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