Dear tomas,
80 if ( C4::Context->preference('ExtendedPatronAttributes') ) {
81 my $attributes = GetBorrowerAttributes( $data->{'borrowernumber'} );
83 ExtendedPatronAttributes => 1,
84 extendedattributes => $attributes
If you turn on [ExtendedPatronAttributes] options,
then it call GetBorrowerAttributes function.
You use C4::Members::Attributes module, but there isn't the module in front ofin front of viewlog.pl .
Reproduce the error , you can turn on [ExtendedPatronAttributes] options
in the system preference
http://your koha ip :8080/cgi-bin/koha/admin/preferences.pl
, and view
Version affected 3.16.x,
Version 3.18, 3.20 are ok
line 74 they have add "use C4::Members::Attributes qw(GetBorrowerAttributes)"
74 use C4::Members::Attributes qw(GetBorrowerAttributes);
75 my $borrowernumber = $object;
,so there no error.
Thanks a lot,
龍山
Tomas Cohen Arazi <tomascohen@gmail.com> 於 2015/6/11 (週四) 10:14 PM 寫道﹕
You should definitely fill a bug on
http://bugs.koha-community.org about it.
A side note: I couldn't reproduce the error on my test site. So please explain in detail things like if the patron has or hasn't extended attributes, etc.