use static logging method

This commit is contained in:
Isaac Connor 2017-10-27 21:13:14 -07:00
parent b3d65729da
commit ae8bfadcf7
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ sub end_transaction {
#$openprint::log->debug("Called end_transaction from $caller : $line");
my ( $d, $ac ) = @_;
if ( ! defined $ac ) {
$log->error("Undefined ac");
Error("Undefined ac");
}
$d = $dbh if ! $d;
if ( $ac ) {