summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-04-19 13:54:03 -0700
committerIvan Kohler <ivan@freeside.biz>2013-04-19 13:54:03 -0700
commit29040dc99217d630e87236fe7e25dd97ad8b9990 (patch)
tree175dce6432266e1d48e515456410add6e7a900dd
parentc0c1485222462c4df5aac8e209a865c984262d3c (diff)
parentb279ca3f1c66ea5f589421196b7c5fc5f7163ec4 (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
-rw-r--r--FS/FS/cust_pay.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm
index 7b01ff590..0e9e8a716 100644
--- a/FS/FS/cust_pay.pm
+++ b/FS/FS/cust_pay.pm
@@ -1063,6 +1063,8 @@ sub _upgrade_data { #class method
warn "couldn't find paybatch history record for $table ".$object->$pkey."\n";
next;
}
+ # if the paybatch didn't have an auth string, then it's fine
+ $h->paybatch =~ /:(\w+):/ or next;
# set paybatch to what it was in that record
$object->set('paybatch', $h->paybatch)
# and then upgrade it like the old records