projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96bb699
)
don't barf on status screen without a CC processor enabled
author
Ivan Kohler
<ivan@freeside.biz>
Sun, 19 Mar 2017 15:53:31 +0000
(08:53 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Sun, 19 Mar 2017 15:53:31 +0000
(08:53 -0700)
httemplate/view/Status.html
patch
|
blob
|
history
diff --git
a/httemplate/view/Status.html
b/httemplate/view/Status.html
index
2d91b0b
..
e08bfe4
100644
(file)
--- 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,