View | Details | Raw Unified | Return to bug 27857
Collapse All | Expand All

(-)a/Koha/Patron.pm (-3 / +8 lines)
Lines 1539-1546 sub generate_userid { Link Here
1539
1539
1540
sub add_extended_attribute {
1540
sub add_extended_attribute {
1541
    my ($self, $attribute) = @_;
1541
    my ($self, $attribute) = @_;
1542
    $attribute->{borrowernumber} = $self->borrowernumber;
1542
1543
    return Koha::Patron::Attribute->new($attribute)->store;
1543
    return Koha::Patron::Attribute->new(
1544
        {
1545
            %$attribute,
1546
            ( borrowernumber => $self->borrowernumber ),
1547
        }
1548
    )->store;
1549
1544
}
1550
}
1545
1551
1546
=head3 extended_attributes
1552
=head3 extended_attributes
1547
- 

Return to bug 27857