[freeside-commits] branch master updated. 1fcc14f0b94db3e5ec886ee163c20b9fe786543d

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


The branch, master has been updated
       via  1fcc14f0b94db3e5ec886ee163c20b9fe786543d (commit)
      from  bb8493151593420f2d2440c476c2ce43473a2476 (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 1fcc14f0b94db3e5ec886ee163c20b9fe786543d
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Thu Mar 3 14:08:51 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 d31e918..136c8e6 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