From: Ivan Kohler Date: Sun, 19 Mar 2017 15:53:33 +0000 (-0700) Subject: don't barf on status screen without a CC processor enabled X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=1cf067290195a0a76d70b119ea56ccfb36deb897;p=freeside.git don't barf on status screen without a CC processor enabled --- diff --git a/httemplate/view/Status.html b/httemplate/view/Status.html index 2d91b0b87..e08bfe44b 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,