[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [645] branches/1.2/LedgerSMB/IC.pm
- Subject: SF.net SVN: ledger-smb: [645] branches/1.2/LedgerSMB/IC.pm
- From: ..hidden..
- Date: Thu, 16 Nov 2006 15:10:23 -0800
Revision: 645
http://svn.sourceforge.net/ledger-smb/?rev=645&view=rev
Author: tetragon
Date: 2006-11-16 15:10:22 -0800 (Thu, 16 Nov 2006)
Log Message:
-----------
Change empty string to undef for query
Modified Paths:
--------------
branches/1.2/LedgerSMB/IC.pm
Modified: branches/1.2/LedgerSMB/IC.pm
===================================================================
--- branches/1.2/LedgerSMB/IC.pm 2006-11-16 23:09:38 UTC (rev 644)
+++ branches/1.2/LedgerSMB/IC.pm 2006-11-16 23:10:22 UTC (rev 645)
@@ -548,6 +548,10 @@
($null, $pricegroup_id)
= split /--/, $form->{"pricegroup_$i"};
+ my $validfrom;
+ my $validto;
+ $validfrom = $form->{"validfrom_$i"} if $form->{"validfrom_$i"};
+ $validto = $form->{"validto_$i"} if $form->{"validto_$i"};
$query = qq|
INSERT INTO partscustomer
(parts_id, customer_id,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.