summaryrefslogtreecommitdiff
path: root/LedgerSMB/GL.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/GL.pm')
-rwxr-xr-xLedgerSMB/GL.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/GL.pm b/LedgerSMB/GL.pm
index c2781669..613de866 100755
--- a/LedgerSMB/GL.pm
+++ b/LedgerSMB/GL.pm
@@ -131,7 +131,7 @@ sub post_transaction {
department_id = ?
WHERE id = ?|;
- $dbh->prepare($query);
+ $sth = $dbh->prepare($query);
$sth->execute($form->{transdate}, $department_id, $form->{id})
|| $form->dberror($query);