[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [825] trunk/LedgerSMB/Form.pm



Revision: 825
          http://svn.sourceforge.net/ledger-smb/?rev=825&view=rev
Author:   einhverfr
Date:     2007-02-22 14:04:30 -0800 (Thu, 22 Feb 2007)

Log Message:
-----------
Fixing bug 1666529

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2007-02-22 22:03:45 UTC (rev 824)
+++ trunk/LedgerSMB/Form.pm	2007-02-22 22:04:30 UTC (rev 825)
@@ -2209,6 +2209,7 @@
 
 	my ($self, $myconfig, $dbh2, $vc, $module) = @_;
 
+	$vc ||= $self->{vc};
 	my $dbh = $self->{dbh};
 
 	my $arap = ($vc eq 'customer') ? "ar" : "ap";


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.