[freeside-commits] branch master updated. 4665b13550c626aeae16f3d1892f4454195cfc53

Ivan ivan at 420.am
Sat Feb 21 13:40:11 PST 2015


The branch, master has been updated
       via  4665b13550c626aeae16f3d1892f4454195cfc53 (commit)
      from  5f10fda22d066f3e730db11b7c26938547014631 (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 4665b13550c626aeae16f3d1892f4454195cfc53
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Feb 21 13:40:08 2015 -0800

    fix qsearch usage in new condition (multiple payment options, RT#23741)

diff --git a/FS/FS/part_event/Condition/has_cust_payby_auto.pm b/FS/FS/part_event/Condition/has_cust_payby_auto.pm
index dce97df..9f91429 100644
--- a/FS/FS/part_event/Condition/has_cust_payby_auto.pm
+++ b/FS/FS/part_event/Condition/has_cust_payby_auto.pm
@@ -1,12 +1,11 @@
 package FS::part_event::Condition::has_cust_payby_auto;
+use base qw( FS::part_event::Condition );
 
 use strict;
 use Tie::IxHash;
 use FS::payby;
 use FS::Record qw(qsearch);
 
-use base qw( FS::part_event::Condition );
-
 sub description {
   'Customer has automatic payment information';
 }
diff --git a/FS/FS/part_event/Condition/hasnt_cust_payby_auto.pm b/FS/FS/part_event/Condition/hasnt_cust_payby_auto.pm
index 6655a63..6e9eb12 100644
--- a/FS/FS/part_event/Condition/hasnt_cust_payby_auto.pm
+++ b/FS/FS/part_event/Condition/hasnt_cust_payby_auto.pm
@@ -1,9 +1,8 @@
 package FS::part_event::Condition::hasnt_cust_payby_auto;
+use base qw( FS::part_event::Condition );
 
 use strict;
-use Tie::IxHash;
-
-use base qw( FS::part_event::Condition );
+use FS::Record qw(qsearch);
 
 sub description {
   'Customer does not have automatic payment information';

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

Summary of changes:
 FS/FS/part_event/Condition/has_cust_payby_auto.pm   |    3 +--
 FS/FS/part_event/Condition/hasnt_cust_payby_auto.pm |    5 ++---
 2 files changed, 3 insertions(+), 5 deletions(-)




More information about the freeside-commits mailing list