[freeside-commits] branch master updated. be06add541bd150db591bf5712beaa3225c005b9
Mark Wells
mark at 420.am
Wed Jul 16 20:42:35 PDT 2014
The branch, master has been updated
via be06add541bd150db591bf5712beaa3225c005b9 (commit)
from 7943c96636596806b9fc99195c23b166728280c8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit be06add541bd150db591bf5712beaa3225c005b9
Author: Mark Wells <mark at freeside.biz>
Date: Wed Jul 16 20:42:24 2014 -0700
mysql compat fix for cust_pay.paybatch upgrade, #28895
diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm
index 1044e43..153390b 100644
--- a/FS/FS/cust_pay.pm
+++ b/FS/FS/cust_pay.pm
@@ -1052,7 +1052,7 @@ sub process_upgrade_paybatch {
###
my $search = FS::Cursor->new( {
'table' => 'cust_pay',
- 'addl_from' => ' JOIN pay_batch ON cust_pay.paybatch = CAST(pay_batch.batchnum AS text) ',
+ 'addl_from' => ' JOIN pay_batch ON cust_pay.paybatch = CONCAT(pay_batch.batchnum) ',
} );
while (my $cust_pay = $search->fetch) {
$cust_pay->set('batchnum' => $cust_pay->paybatch);
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_pay.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the freeside-commits
mailing list