summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-06 04:15:54 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-12-06 04:15:54 +0000
commit5a732a5df81bc761b914189f5f29cf4831343c90 (patch)
tree862ed0a45025ef994282db04c706167d4dc84284 /LedgerSMB
parentfae60af4c1ba1aa7b5a96d82c1d09fb48a73fe44 (diff)
Fixing gl bind argument issue
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@731 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-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);