and $self->message_type
and $self->branchcode;
my $userenv = C4::Context->userenv;
unless (defined $self->manager_id) {
$self->manager_id( $userenv ? $userenv->{number} : undef);
}
C4::Log::logaction( "MEMBERS", "ADDCIRCMESSAGE", $self->borrowernumber, $self->message )
if C4::Context->preference("BorrowersLog");
-