From: Joe Hunt Date: Sun, 23 Sep 2012 07:23:56 +0000 (+0200) Subject: 0001792: BLOOMBERG added to Exchange Rate Providers and config fix, improvement X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=bfe8873eed467da81bde70d4873a09202bf1a291;p=fa-stable.git 0001792: BLOOMBERG added to Exchange Rate Providers and config fix, improvement --- diff --git a/gl/includes/db/gl_db_rates.inc b/gl/includes/db/gl_db_rates.inc index 35171403..9f0f101d 100644 --- a/gl/includes/db/gl_db_rates.inc +++ b/gl/includes/db/gl_db_rates.inc @@ -194,7 +194,7 @@ function get_extern_rate($curr_b, $provider = 'ECB', $date) $val = trim(strstr($contents, $stmask)); $stmask = chr(10); $val = trim(strstr($val, $stmask)); - //$val = trim(strstr($val, $stmask, TRUE)); // Only works from PHP 5.3. Seems to work without it. + $val = trim(strtok($val, $stmask)); } return $val; } /* end function get_extern_rate */