diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-22 22:04:30 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-22 22:04:30 +0000 |
commit | 24998f2b6827a54e4febd6b757379a75c1496cc8 (patch) | |
tree | 6b0c36a25a10e9e1c1ec261aff67d17b955c0d12 | |
parent | 0af6762dd56c224cc0e3ff4a295a8eba9c53c503 (diff) |
Fixing bug 1666529
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@825 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | LedgerSMB/Form.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index caa9857b..601b74c1 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -2209,6 +2209,7 @@ sub lastname_used { my ($self, $myconfig, $dbh2, $vc, $module) = @_; + $vc ||= $self->{vc}; my $dbh = $self->{dbh}; my $arap = ($vc eq 'customer') ? "ar" : "ap"; |