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

(-)a/Koha/Patron.pm (-1 / +1 lines)
Lines 414-420 sub category { Link Here
414
sub image {
414
sub image {
415
    my ( $self ) = @_;
415
    my ( $self ) = @_;
416
416
417
    return scalar Koha::Patron::Images->find( $self->borrowernumber );
417
    return Koha::Patron::Images->find( $self->borrowernumber );
418
}
418
}
419
419
420
=head3 library
420
=head3 library
(-)a/Koha/Patron/Relationship.pm (-2 / +2 lines)
Lines 82-88 sub guarantor { Link Here
82
82
83
    return unless $self->guarantor_id;
83
    return unless $self->guarantor_id;
84
84
85
    return scalar Koha::Patrons->find( $self->guarantor_id );
85
    return Koha::Patrons->find( $self->guarantor_id );
86
}
86
}
87
87
88
=head3 guarantee
88
=head3 guarantee
Lines 94-100 Returns the Koha::Patron object for the guarantee Link Here
94
sub guarantee {
94
sub guarantee {
95
    my ( $self ) = @_;
95
    my ( $self ) = @_;
96
96
97
    return scalar Koha::Patrons->find( $self->guarantee_id );
97
    return Koha::Patrons->find( $self->guarantee_id );
98
}
98
}
99
99
100
=head3 type
100
=head3 type
(-)a/opac/opac-memberentry.pl (-2 / +1 lines)
Lines 332-338 elsif ( $action eq 'edit' ) { #Display logged in borrower's data Link Here
332
}
332
}
333
333
334
my $captcha = random_string("CCCCC");
334
my $captcha = random_string("CCCCC");
335
my $patron_param = scalar Koha::Patrons->find( $borrowernumber );
335
my $patron_param = Koha::Patrons->find( $borrowernumber );
336
$template->param(
336
$template->param(
337
    has_guarantor_flag => $patron_param->guarantor_relationships->guarantors->_resultset->count
337
    has_guarantor_flag => $patron_param->guarantor_relationships->guarantors->_resultset->count
338
) if $patron_param;
338
) if $patron_param;
339
- 

Return to bug 19809