diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-08 05:11:46 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-09-08 05:11:46 +0000 |
commit | b22caca93654d10eac19cddaaaa0207ea41394ca (patch) | |
tree | 493e54f0068a7ee43d81eaab8a3410af6ea5b41f /LedgerSMB | |
parent | df7aed67c6e44f8086906bbf59c7696ef20b0b63 (diff) |
Trying to fix another query error
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1544 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rw-r--r-- | LedgerSMB/CP.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/CP.pm b/LedgerSMB/CP.pm index a0537f63..4419beac 100644 --- a/LedgerSMB/CP.pm +++ b/LedgerSMB/CP.pm @@ -193,7 +193,7 @@ sub get_openvc { # Leaving it so we can change it when we go to a new system $query = qq|SELECT curr FROM $form->{vc} - WHERE id = $form->{name_list}->[0]->{id}|; + WHERE entity_id = $form->{name_list}->[0]->{entity_id}|; ( $form->{currency} ) = $dbh->selectrow_array($query); $form->{currency} ||= $form->{defaultcurrency}; |