From ee184dc80bcaa978bd05a74e6ef7ae1447da9190 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Mon, 5 Feb 2001 17:47:58 +0000 Subject: [PATCH] Added a couple of missing $dbh->disconnect lines that were logging errors in apache log files. --- C4/Circulation/Circ2.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Circulation/Circ2.pm b/C4/Circulation/Circ2.pm index d19efaa370..2de0bc8dea 100755 --- a/C4/Circulation/Circ2.pm +++ b/C4/Circulation/Circ2.pm @@ -70,6 +70,7 @@ sub getbranches { # (next) if ($branch->{'branchcode'} eq 'TR'); $branches{$branch->{'branchcode'}}=$branch; } + $dbh->disconnect; return (\%branches); } @@ -83,6 +84,7 @@ sub getprinters { while (my $printer=$sth->fetchrow_hashref) { $printers{$printer->{'printqueue'}}=$printer; } + $dbh->disconnect; return (\%printers); } -- 2.39.5