From bfe8873eed467da81bde70d4873a09202bf1a291 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sun, 23 Sep 2012 09:23:56 +0200 Subject: [PATCH] 0001792: BLOOMBERG added to Exchange Rate Providers and config fix, improvement --- gl/includes/db/gl_db_rates.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.30.2