X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=members%2Frouting-lists.pl;h=70165f7553dd2db588ad85e90abe59cb2c37f2c4;hb=45e6a7e58fcc01b319022e8178f9dbd27f0e1090;hp=25b0f85d4f41a577e91bb58115dbd1dc73cca945;hpb=b1e2fa8fcaad4d8649e185fbcce2c7210bd8d40a;p=koha_fer diff --git a/members/routing-lists.pl b/members/routing-lists.pl index 25b0f85d4f..70165f7553 100755 --- a/members/routing-lists.pl +++ b/members/routing-lists.pl @@ -125,9 +125,10 @@ $template->param( country => $borrower->{'country'}, phone => $borrower->{'phone'} || $borrower->{'mobile'}, cardnumber => $borrower->{'cardnumber'}, + RoutingSerials => C4::Context->preference('RoutingSerials'), ); -my ($picture, $dberror) = GetPatronImage($borrower->{'cardnumber'}); +my ($picture, $dberror) = GetPatronImage($borrower->{'borrowernumber'}); $template->param( picture => 1 ) if $picture; output_html_with_http_headers $query, $cookie, $template->output;