[freeside-commits] branch FREESIDE_3_BRANCH updated. 6e004ea979eeb1059173781d2870bf410fa1e1ac

Mark Wells mark at 420.am
Wed Jul 16 20:42:32 PDT 2014


The branch, FREESIDE_3_BRANCH has been updated
       via  6e004ea979eeb1059173781d2870bf410fa1e1ac (commit)
      from  74cccaa265fa81e493cec8701b18bc453d95e29c (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 6e004ea979eeb1059173781d2870bf410fa1e1ac
Author: Mark Wells <mark at freeside.biz>
Date:   Wed Jul 16 20:41:49 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 3413a07..aa5655d 100644
--- a/FS/FS/cust_pay.pm
+++ b/FS/FS/cust_pay.pm
@@ -1079,7 +1079,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