diff options
Diffstat (limited to 'LedgerSMB/IS.pm')
-rwxr-xr-x | LedgerSMB/IS.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LedgerSMB/IS.pm b/LedgerSMB/IS.pm index 05b4dd06..dd293759 100755 --- a/LedgerSMB/IS.pm +++ b/LedgerSMB/IS.pm @@ -820,10 +820,10 @@ sub post_invoice { $query = qq| SELECT (SELECT value FROM defaults - WHERE setting_key = fxgain_accno_id) + WHERE setting_key = 'fxgain_accno_id') AS fxgain_accno_id, (SELECT value FROM defaults - WHERE setting_key = fxloss_accno_id) + WHERE setting_key = 'fxloss_accno_id') AS fxloss_accno_id|; my ($fxgain_accno_id, $fxloss_accno_id) = $dbh->selectrow_array($query); |