projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
73085: Enable credit card/ach encryption on a live system [handling for custnum-less...
[freeside.git]
/
FS
/
FS
/
cust_main.pm
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
4bd3f26
..
5b113f8
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-5837,6
+5837,9
@@
sub queueable_upgrade {
# window for possible conflict is practically nonexistant,
# but just in case...
$record = $record->select_for_update;
# window for possible conflict is practically nonexistant,
# but just in case...
$record = $record->select_for_update;
+ if (!$record->custnum && $table eq 'cust_pay_pending') {
+ $record->set('custnum_pending',1);
+ }
my $error = $record->replace;
die $error if $error;
}
my $error = $record->replace;
die $error if $error;
}