Fix Can't call method 'notes' on unblessed reference in plugins/logging/file. (#272)
This commit is contained in:
parent
e551786a9e
commit
494dc95b72
@ -279,6 +279,7 @@ sub hook_logging {
|
||||
if ( !$self->{_f}
|
||||
|| !$self->{_nosplit}
|
||||
|| !$transaction
|
||||
|| !UNIVERSAL::can($transaction, 'notes')
|
||||
|| !$transaction->notes('file-logged-this-session'))
|
||||
{
|
||||
unless (defined $self->maybe_reopen($transaction)) {
|
||||
|
Loading…
Reference in New Issue
Block a user