summaryrefslogtreecommitdiff
path: root/LedgerSMB/RP.pm
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-14 17:24:29 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-14 17:24:29 +0000
commit60a8122d1593206e6588e61d260f19b96c0e573f (patch)
treedf1b75de6c521bfdbf1a68794377f5be77dfc34b /LedgerSMB/RP.pm
parentda136cd084b180edf9e3e56ca25a3acb845f08f0 (diff)
Fixing var used to prepare a query
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@594 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/RP.pm')
-rwxr-xr-xLedgerSMB/RP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/RP.pm b/LedgerSMB/RP.pm
index 8be97f17..dbb3294b 100755
--- a/LedgerSMB/RP.pm
+++ b/LedgerSMB/RP.pm
@@ -1419,7 +1419,7 @@ sub aging {
my $dbh = $form->{dbh};
my $invoice = ($form->{arap} eq 'ar') ? 'is' : 'ir';
- my $query = qq|SELECT value FROM defaults WHERE settings_key = 'curr'|;
+ my $query = qq|SELECT value FROM defaults WHERE setting_key = 'curr'|;
($form->{currencies}) = $dbh->selectrow_array($query);
($null, $form->{todate})