From 19c272e39f1134c2d7a56fda603fcf0a8a9ca6f7 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Tue, 7 Jul 2009 17:16:13 +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: Henri-Damien LAURENT --- circ/circulation.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 9289b05eaa..a9d9d15265 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -415,11 +415,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