Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire authored Apr 30, 2019
1 parent 0a000fe commit 9dfcb81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Message/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,12 @@ public function setReceipt($value)

public function getCurrency()
{
if ($this->getParameter('currency') === 'RUB') {
$currency = $this->getParameter('currency');
if ($currency === 'RUB') {
return '';
}
return $this->getParameter('currency');

return $currency;
}

/**
Expand Down

0 comments on commit 9dfcb81

Please sign in to comment.