diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-22 22:03:45 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-02-22 22:03:45 +0000 |
commit | 1d27147135319b658e2d78963edf0a918667043f (patch) | |
tree | e5485f11ca057a1728e174aff8b4bed88360b218 /LedgerSMB/Form.pm | |
parent | 4dbc473555452db79b6221793065f1ca5f0bca7c (diff) |
Fixing bug 1666529
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@824 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB/Form.pm')
-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 8c9cd548..e1faa621 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 my $arap = ($vc eq 'customer') ? "ar" : "ap"; my $where = "1 = 1"; my $sth; |