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

(-)a/opac/opac-memberentry.pl (-3 / +4 lines)
Lines 333-344 elsif ( $action eq 'edit' ) { #Display logged in borrower's data Link Here
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 = scalar Koha::Patrons->find( $borrowernumber );
336
$template->param(
337
    has_guarantor_flag => $patron_param->guarantor_relationships->guarantors->_resultset->count
338
) if $patron_param;
336
339
337
$template->param(
340
$template->param(
338
    captcha        => $captcha,
341
    captcha        => $captcha,
339
    captcha_digest => md5_base64($captcha),
342
    captcha_digest => md5_base64($captcha),
340
    patron         => $patron_param,
343
    patron         => $patron_param
341
    has_guarantor_flag => $patron_param->guarantor_relationships->guarantors->_resultset->count
342
);
344
);
343
345
344
output_html_with_http_headers $cgi, $cookie, $template->output, undef, { force_no_caching => 1 };
346
output_html_with_http_headers $cgi, $cookie, $template->output, undef, { force_no_caching => 1 };
345
- 

Return to bug 20691