Added a couple of missing $dbh->disconnect lines that were logging errors
in apache log files.
This commit is contained in:
parent
ad16590c11
commit
ee184dc80b
|
|
@ -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…
Reference in New Issue