diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-22 22:05:12 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-22 22:05:12 +0000 |
commit | a67a99a89e1fd8cafcceb9e3a692d6f25dfc0b14 (patch) | |
tree | a5c8b6f6a698834055dd16d0bda1f86add80906f /LedgerSMB | |
parent | 1d27147135319b658e2d78963edf0a918667043f (diff) |
Correcting fix for 1666529
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@826 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/Form.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index e1faa621..3164a7fb 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -2216,7 +2216,7 @@ sub lastname_used { my ($self, $myconfig, $dbh2, $vc, $module) = @_; my $dbh = $self->{dbh}; - $vc ||= $form->{vc}; # add default to correct for improper passing + $vc ||= $self->{vc}; # add default to correct for improper passing my $arap = ($vc eq 'customer') ? "ar" : "ap"; my $where = "1 = 1"; my $sth; |