Skip to content

Commit

Permalink
Merge pull request #77 from Invertus/SL-125-bo-payment-display-error-fix
Browse files Browse the repository at this point in the history
SL-125: Module BO settings payment tab error fix
  • Loading branch information
mandan2 authored Oct 14, 2022
2 parents a994c72 + f013d2a commit 22bfdce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/SaferPayPaymentNotation.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class SaferPayPaymentNotation

public function getForDisplay(string $payment)
{
if (isset(self::PAYMENTS[$payment])) {
if (array_key_exists($payment, self::PAYMENTS)) {
return self::PAYMENTS[$payment];
}

Expand Down

0 comments on commit 22bfdce

Please sign in to comment.