[freeside-commits] branch FREESIDE_4_BRANCH updated. 1cf067290195a0a76d70b119ea56ccfb36deb897
Ivan
ivan at 420.am
Sun Mar 19 08:53:34 PDT 2017
The branch, FREESIDE_4_BRANCH has been updated
via 1cf067290195a0a76d70b119ea56ccfb36deb897 (commit)
from 0dde042b047a88c164ddd18ff3ce7b8a9908a30d (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 1cf067290195a0a76d70b119ea56ccfb36deb897
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Mar 19 08:53:33 2017 -0700
don't barf on status screen without a CC processor enabled
diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html
index 2d91b0b..e08bfe4 100644
--- a/httemplate/view/Status.html
+++ b/httemplate/view/Status.html
@@ -228,7 +228,8 @@ foreach my $agent (
})
) {
my $gateway = $agent->payment_gateway('method'=>'VISA card', 'nofatal'=>1, );
- next unless $gateway->gateway_namespace eq 'Business::OnlinePayment';
+ next unless $gateway
+ && $gateway->gateway_namespace eq 'Business::OnlinePayment';
eval "use Business::OnlinePayment";
die $@ if $@; #die?
my $bop = new Business::OnlinePayment( $gateway->gateway_module,
-----------------------------------------------------------------------
Summary of changes:
httemplate/view/Status.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list