summaryrefslogtreecommitdiff
path: root/LedgerSMB/CP.pm
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-21 00:10:55 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-21 00:10:55 +0000
commitc89cf3316e3296067eae5989d403c4a4015a6955 (patch)
treed6f59ec4e73ecf632de20b34b32b150ae370f1d0 /LedgerSMB/CP.pm
parentefbacb358ff4e4bd60de4d26d8a24bf2f2f9d143 (diff)
Fixing error posting payments and requring user for User::fetch_config
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@964 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/CP.pm')
-rwxr-xr-xLedgerSMB/CP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/CP.pm b/LedgerSMB/CP.pm
index ca464262..47e278a4 100755
--- a/LedgerSMB/CP.pm
+++ b/LedgerSMB/CP.pm
@@ -669,7 +669,7 @@ sub post_payments {
WHERE e.curr = ?
AND a.id = ?|;
- $sth = $sbh->prepare($query);
+ $sth = $dbh->prepare($query);
$sth->execute($form->{currency}, $form->{"id_$i"})
|| $form->dberror($query, 'CP.pm', 671);
my ($exchangerate) = $sth->fetchrow_array;