https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21083
--- Comment #3 from Jonathan Druart <[email protected]> --- I think the following changes should be applied to Koha::Patron->extended_attributes diff --git a/Koha/Patron.pm b/Koha/Patron.pm index 5436ccc448..cf8264a308 100644 --- a/Koha/Patron.pm +++ b/Koha/Patron.pm @@ -1482,6 +1482,9 @@ sub extended_attributes { # Insert the new ones for my $attribute (@$attributes) { + # FIXME It seems that we need this check here + next if $attribute->category_code && $attribute->category_code ne $self->categorycode; + eval { $self->_result->create_related('borrower_attributes', $attribute); }; However it's not needed for this bug report. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
