From: Chris Sharp Date: Mon, 30 Jan 2023 18:48:56 +0000 (-0500) Subject: more warnlog fixes X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=267a7b5a8eab194ecea8cc47e0ff83c94251f9a0;p=evergreen%2Fpines.git more warnlog fixes --- 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 :) }