summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-02-18 00:33:10 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-02-18 00:33:10 +0000
commit2607bb85159f385efe6bc94ffd77450a1ab4ce5f (patch)
tree9d8fda21c0c4282687a921e57379fa877a4f91e7 /LedgerSMB
parent7ac560d9cefa153612cf6395babd8d1af361e146 (diff)
Fixing bug 1661261
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@810 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/RC.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/LedgerSMB/RC.pm b/LedgerSMB/RC.pm
index 7ba6770a..48f184cd 100755
--- a/LedgerSMB/RC.pm
+++ b/LedgerSMB/RC.pm
@@ -232,11 +232,11 @@ sub payment_transactions {
if ($form->{fx_transaction}) {
$fx_transaction = qq|
AND NOT (ac.chart_id IN
- (SELECT value AS fxgain_accno_id FROM defaults
+ (SELECT value FROM defaults
WHERE setting_key = 'fxgain_accno_id'
UNION
- SELECT value AS fxloss_accno_id FROM defaults
- WHERE setting_key = 'fxloss_accno_id))|;
+ SELECT value FROM defaults
+ WHERE setting_key = 'fxloss_accno_id'))|;
} else {
$fx_transaction = qq|
AND ac.fx_transaction = '0'|;