Skip to content

Commit

Permalink
fixed hiding wmdirect
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Feb 4, 2016
1 parent 57b333f commit 5ff8bc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/merchant/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public function fetchMerchants(array $params = [])

foreach ($merchants as $name => $merchant) {
if ($merchant['system'] === 'wmdirect') {
unset($merchants[$name]);
continue; // WebMoney Direct is not a merchant indeed. TODO: remove
}
$merchants[$name] = $this->convertMerchant($merchant);
Expand Down

0 comments on commit 5ff8bc4

Please sign in to comment.