projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
110a9f8
)
avoid some redundant upgrades, #18548
author
Mark Wells
<mark@freeside.biz>
Fri, 19 Apr 2013 19:35:02 +0000
(12:35 -0700)
committer
Mark Wells
<mark@freeside.biz>
Fri, 19 Apr 2013 19:35:02 +0000
(12:35 -0700)
FS/FS/cust_pay.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_pay.pm
b/FS/FS/cust_pay.pm
index
7b01ff5
..
0e9e8a7
100644
(file)
--- 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