Skip to content

Commit

Permalink
Fix Mercatox ticker API
Browse files Browse the repository at this point in the history
  • Loading branch information
bziemek authored Mar 18, 2018
1 parent 8a87239 commit e0dc0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/classes/tools.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public function getPrice() {
return @$aData['Last'];
break;
case 'mercatox':
return @$aData["{$strBase}_{$strQuote}"]['last'];
return @$aData['pairs']["{$strBase}_{$strQuote}"]['last'];
break;
case 'tradeogre':
return @$aData['price'];
Expand Down

0 comments on commit e0dc0cb

Please sign in to comment.