Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
BeycanDeveloper committed Mar 27, 2024
1 parent 885d1a8 commit b71e610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/DokanCryptoPayWithdrawal.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ public function __construct(string $title, string $key)
LiteHelpers::registerIntegration($this->key);
LiteHook::addFilter('apply_discount_' . $this->key, '__return_false');
LiteHook::addFilter('receiver_' . $this->key, function (string $receiver, object $data) {
if (isset($data->params->receiver)) {
return $data->params->receiver;
if ($data->getParams()->get('receiver')) {
return $data->getParams()->get('receiver');
}

return $receiver;
Expand Down

0 comments on commit b71e610

Please sign in to comment.