summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xLedgerSMB/IC.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/LedgerSMB/IC.pm b/LedgerSMB/IC.pm
index 9bda7032..e3974891 100755
--- a/LedgerSMB/IC.pm
+++ b/LedgerSMB/IC.pm
@@ -929,7 +929,6 @@ sub assembly_item {
}
$sth->finish;
- $dbh->disconnect;
}
@@ -1927,7 +1926,7 @@ sub create_links {
$sth->finish;
}
- $dbh->connect;
+ $dbh->commit;
}