We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit c3a7e85c authored by Ángel Campos's avatar Ángel Campos Committed by GitHub

Update Block/Info/Boleto.php

Co-authored-by: default avatarAttila Kiss <42297201+cyattilakiss@users.noreply.github.com>
parent 9ce41e5a
...@@ -37,6 +37,10 @@ class Boleto extends AbstractInfo ...@@ -37,6 +37,10 @@ class Boleto extends AbstractInfo
public function getPaymentActionData($data) public function getPaymentActionData($data)
{ {
$paymentAction = $this->getMethod()->getInfoInstance()->getAdditionalInformation('action'); $paymentAction = $this->getMethod()->getInfoInstance()->getAdditionalInformation('action');
return !empty($paymentAction[$data]) ? $paymentAction[$data] : ''; if (empty($paymentAction[$data])) {
return '';
}
return $paymentAction[$data];
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment