From 985af48c455639d455d8cd54742a51b7db57ad5d Mon Sep 17 00:00:00 2001 From: rangi Date: Thu, 25 Sep 2003 09:11:24 +0000 Subject: [PATCH] Fixing bug 619 --- circ/selectbranchprinter.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/circ/selectbranchprinter.pl b/circ/selectbranchprinter.pl index 737556cf38..7e917f36ae 100644 --- a/circ/selectbranchprinter.pl +++ b/circ/selectbranchprinter.pl @@ -62,8 +62,8 @@ my $printer=$query->param('printer'); my $oldbranch = $branch; my $oldprinter = $printer; -$branch=''; -$printer=''; +#$branch=''; +#$printer=''; $env{'branchcode'}=$branch; @@ -102,12 +102,12 @@ my $branchname; my $oneprinter=($printercount==1) ; my $onebranch=($branchcount==1) ; if ($printercount==1) { - ($printer)=keys %$printers; - $printername=$printers->{$printer}->{printername}; + my ($tmpprinter)=keys %$printers; + $printername=$printers->{$tmpprinter}->{printername}; } if ($branchcount==1) { - ($branch)=keys %$branches; - $branchname=$branches->{$branch}->{branchname}; + my ($tmpbranch)=keys %$branches; + $branchname=$branches->{$tmpbranch}->{branchname}; } -- 2.39.5