diff options
author | ivan <ivan> | 2010-08-13 17:41:59 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-08-13 17:41:59 +0000 |
commit | b98badc88cb1e1fcd3d292b494daa7ba4114bdb6 (patch) | |
tree | 85c96f3023e47924201e9ec8bb9ef0088ea912a6 /FS | |
parent | 36496cd4c672742f3c7791114879f420f19d1e4a (diff) |
ignore expired cards on customer import
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_main/Import.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/cust_main/Import.pm b/FS/FS/cust_main/Import.pm index e2165a096..e58a0447b 100644 --- a/FS/FS/cust_main/Import.pm +++ b/FS/FS/cust_main/Import.pm @@ -214,6 +214,10 @@ sub batch_import { my $oldAutoCommit = $FS::UID::AutoCommit; local $FS::UID::AutoCommit = 0; my $dbh = dbh; + + #implies ignore_expired_card + local($FS::cust_main::import) = 1; + local($FS::cust_main::import) = 1; my $line; my $row = 0; |