From: Janusz Dobrowolski Date: Mon, 22 Nov 2010 21:03:10 +0000 (+0000) Subject: Fixed bug in exrate return. X-Git-Tag: v2.4.2~19^2~474 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=207e5a2e9b6b464532d34d1c830d2d5614e45bab;p=fa-stable.git Fixed bug in exrate return. --- diff --git a/gl/includes/db/gl_db_rates.inc b/gl/includes/db/gl_db_rates.inc index a6dc58e7..b91e909a 100644 --- a/gl/includes/db/gl_db_rates.inc +++ b/gl/includes/db/gl_db_rates.inc @@ -76,7 +76,7 @@ function delete_exchange_rate($rate_id) // function retrieve_exrate($curr_b, $date) { - return $rate = hook_retrieve_exrate($curr_b, $date); + $rate = hook_retrieve_exrate($curr_b, $date); if (is_numeric($rate)) return $rate; return get_extern_rate($curr_b, 'ECB', $date);