From: Jean-André Santoni Date: Tue, 7 Jul 2009 10:19:22 +0000 (+0200) Subject: [3.0.x](bug #3349) Display full borrower address X-Git-Tag: n_acq_a_porter~8 X-Git-Url: http://git.rot13.org/?p=koha.git;a=commitdiff_plain;h=da97c5eb79ddfacd663b29cf578ca7dbb390c0e7 [3.0.x](bug #3349) Display full borrower address This patch fixes the truncated address in /circ/circulation.pl --- diff --git a/circ/circulation.pl b/circ/circulation.pl index 40a48b1f77..fb4d013fd1 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -644,6 +644,10 @@ if ( C4::Context->preference("memberofinstitution") ) { ); } +# Computes full borrower address +my (undef, $roadttype_hashref) = &GetRoadTypes(); +my $address = $borrower->{'streetnumber'}.' '.$roadttype_hashref->{$borrower->{'streettype'}}.' '.$borrower->{'address'}; + $template->param( issued_itemtypes_count_loop => \@issued_itemtypes_count_loop, findborrower => $findborrower, @@ -659,7 +663,7 @@ $template->param( expiry => format_date($borrower->{'dateexpiry'}), categorycode => $borrower->{'categorycode'}, categoryname => $borrower->{description}, - address => $borrower->{'address'}, + address => $address, address2 => $borrower->{'address2'}, email => $borrower->{'email'}, emailpro => $borrower->{'emailpro'},