summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-06 04:16:56 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-06 04:16:56 +0000
commit573677836e1d14b6dbb50419b7fd020c9cfdbda0 (patch)
treed6a3bc94fe5c98e54ac07eb2512479d31333e629
parent2e36152c2063373a4d6518f4802209993bb9f929 (diff)
Fixing gl bind argument issue
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@732 4979c152-3d1c-0410-bac9-87ea11338e46
-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);