Browse Source

Added a couple of missing $dbh->disconnect lines that were logging errors

in apache log files.
3.0.x
tonnesen 21 years ago
parent
commit
ee184dc80b
  1. 2
      C4/Circulation/Circ2.pm

2
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);
}

Loading…
Cancel
Save