From fb11e453b143aa17f462fc4cc134c66dd0326b59 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Wed, 26 Aug 2009 01:44:27 +0200 Subject: [PATCH] (bug #3403) fix circulation.pl reservation list This delete useless code that introduce the leak of reserved items informations. Signed-off-by: Galen Charlton --- circ/circulation.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 00991ad846..19df3bfc96 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -390,11 +390,11 @@ if ($borrowernumber) { # if we don't have a reserv on item, we put the biblio infos and the waiting position if ( $getiteminfo->{'title'} eq '' ) { my $getbibinfo = GetBiblioData( $num_res->{'biblionumber'} ); - my $getbibtype = getitemtypeinfo( $getbibinfo->{'itemtype'} ); # fixme - we should have item-level reserves here ? + $getreserv{color} = 'inwait'; $getreserv{title} = $getbibinfo->{'title'}; $getreserv{nottransfered} = 0; - $getreserv{itemtype} = $getbibtype->{'description'}; + $getreserv{itemtype} = $itemtypeinfo->{'description'}; $getreserv{author} = $getbibinfo->{'author'}; $getreserv{biblionumber} = $num_res->{'biblionumber'}; } -- 2.39.5