$price = price_decimal_format($price, $dec);
if ($currency != null)
{
- $ex_rate = get_exchange_rate_to_home_currency($currency, $date_);
+ $ex_rate = get_exchange_rate_to_home_currency($currency, $date);
$price_in_home_currency = $price / $ex_rate;
//$price_in_home_currency = to_home_currency($price, $currency, $date);
}