diff options
author | ivan <ivan> | 2010-08-13 17:41:58 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-08-13 17:41:58 +0000 |
commit | 938615d6374c8e868647b88e3aa27c15e942b8ed (patch) | |
tree | 8556f9cffdf1e0bbee78d6c7b93bc4ee3a3a3306 | |
parent | 162706c35d0523d437038fbb28dfe626ac0252f4 (diff) |
ignore expired cards on customer import
-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; |