From 8a6946a7869036ef44c6548ccc638f718e5adfa3 Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 14 Mar 2005 16:52:36 +0000 Subject: [PATCH] bugfix for notforloan column that was not shown --- admin/itemtypes.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl index bcace58c0c..44e64346e3 100755 --- a/admin/itemtypes.pl +++ b/admin/itemtypes.pl @@ -176,10 +176,11 @@ if ($op eq 'add_form') { $toggle=0; } $row_data{toggle} = $toggle; - $row_data{itemtype} = $results->[$i]{'itemtype'}; - $row_data{description} = $results->[$i]{'description'}; - $row_data{renewalsallowed} = $results->[$i]{'renewalsallowed'}; - $row_data{rentalcharge} = sprintf("%.2f",$results->[$i]{'rentalcharge'}); + $row_data{itemtype} = $results->[$i]{itemtype}; + $row_data{description} = $results->[$i]{description}; + $row_data{renewalsallowed} = $results->[$i]{renewalsallowed}; + $row_data{notforloan} = $results->[$i]{notforloan}; + $row_data{rentalcharge} = sprintf("%.2f",$results->[$i]{rentalcharge}); push(@loop_data, \%row_data); } $template->param(loop => \@loop_data);