diff options
Diffstat (limited to 'LedgerSMB/GL.pm')
-rwxr-xr-x | LedgerSMB/GL.pm | 2 |
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); |