From 267a7b5a8eab194ecea8cc47e0ff83c94251f9a0 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Mon, 30 Jan 2023 13:48:56 -0500 Subject: [PATCH] more warnlog fixes --- Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm index ded382c8ec..b96c3985c7 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Money.pm @@ -494,7 +494,7 @@ sub make_payments { } # Urgh, clean up this mega-function one day. - if ($cc_processor eq 'Stripe' and $approval_code and $cc_payload) { + if ($cc_processor && $cc_processor eq 'Stripe' and $approval_code and $cc_payload) { $payment->cc_number($cc_payload->{card}); # not actually available :) } -- 2.11.0