We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) 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
public function getPaymentActionData($data)
{
$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