X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_main.pm;h=11d77639327cedc03ec5bdf73d225b33a6eeb2c0;hp=2f05af69ac7e5fdc8fd8187c8e4eef153f880e65;hb=c5a2d3613acdc3b9ab6f32eaf5316c2834071417;hpb=b92e0eafc315618a40e5de2f7b214e7a125d29fe diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 2f05af69a..11d776393 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -4443,6 +4443,10 @@ CHEK only CHEK only +=item saved_cust_payby + +scalar reference, for returning saved object + =back =cut @@ -4639,6 +4643,9 @@ PAYBYLOOP: return $error; } + ${$opt{'saved_cust_payby'}} = $new + if $opt{'saved_cust_payby'}; + $dbh->commit or die $dbh->errstr if $oldAutoCommit; '';