From 38ca2b91a23fd677d887540e1405f8141d7b5188 Mon Sep 17 00:00:00 2001 From: hdl Date: Tue, 28 Jan 2003 00:49:55 +0000 Subject: [PATCH] Adding variable declarations --- circ/selectbranchprinter.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/circ/selectbranchprinter.pl b/circ/selectbranchprinter.pl index 7c31db3ab0..1fe3dc067c 100644 --- a/circ/selectbranchprinter.pl +++ b/circ/selectbranchprinter.pl @@ -93,6 +93,9 @@ foreach (keys %$printers) { } # if there is only one.... +my $printername; +my $branchname; + my $oneprinter=($printercount==1) ; my $onebranch=($branchcount==1) ; if ($printercount==1) { @@ -111,7 +114,7 @@ if ($branchcount==1) { my ($template, $borrowernumber, $cookie) = get_template_and_user({template_name => "circ/selectbranchprinter.tmpl", - query => $input, + query => $query, type => "intranet", authnotrequired => 0, flagsrequired => {parameters => 1}, -- 2.39.5