[freeside-commits] branch FREESIDE_3_BRANCH updated. 33d9bee6c95a0cfbab986524eafda84afc5a5d11

Ivan ivan at 420.am
Thu Mar 3 14:08:54 PST 2016


The branch, FREESIDE_3_BRANCH has been updated
       via  33d9bee6c95a0cfbab986524eafda84afc5a5d11 (commit)
      from  bdbee8e92b988588aac63adaf2c73b1369733c0e (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 33d9bee6c95a0cfbab986524eafda84afc5a5d11
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Mar 3 14:08:53 2016 -0800

    prevent customer payment type changes from skewing payment report

diff --git a/FS/FS/UI/Web.pm b/FS/FS/UI/Web.pm
index 5f0c053..bfcc1dc 100644
--- a/FS/FS/UI/Web.pm
+++ b/FS/FS/UI/Web.pm
@@ -377,7 +377,7 @@ sub cust_sql_fields {
     push @fields, $field if (grep { $_ eq $field } @cust_fields);
   }
   push @fields, "payby AS cust_payby"
-    if grep { 'cust_payby' eq $field } @cust_fields;
+    if grep { $_ eq 'cust_payby' } @cust_fields;
   push @fields, 'agent_custid';
 
   my @extra_fields = ();

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/UI/Web.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)




More information about the freeside-commits mailing list