Dear koha floks, 

I found viewlog bugs. If you turn on [ExtendedPatronAttributes], 
then view Home › Patrons › Modification log

Software error:

Undefined subroutine &main::GetBorrowerAttributes called at /usr/share/koha/intranet/cgi-bin/tools/viewlog.pl line 82.

Bug fix 

modify viewlog.pl 

line 82

change

my $attributes = GetBorrowerAttributes( $data->{'borrowernumber'} ); 

to 

my $attributes = C4::Members::Attributes::GetBorrowerAttributes( $data->{'borrowernumber'} );


Koha version : 3.16.11, 3.18.7, 3.20

Help me patch viewlogs next release version.

Thanks a lot

龍山