projects
/
srvgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad16590
)
Added a couple of missing $dbh->disconnect lines that were logging errors
author
tonnesen
<tonnesen>
Mon, 5 Feb 2001 17:47:58 +0000
(17:47 +0000)
committer
tonnesen
<tonnesen>
Mon, 5 Feb 2001 17:47:58 +0000
(17:47 +0000)
in apache log files.
C4/Circulation/Circ2.pm
patch
|
blob
|
history
diff --git
a/C4/Circulation/Circ2.pm
b/C4/Circulation/Circ2.pm
index
d19efaa
..
2de0bc8
100755
(executable)
--- 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);
}