projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
183cd2f
)
0001792: BLOOMBERG added to Exchange Rate Providers and config fix, improvement
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 23 Sep 2012 07:23:56 +0000
(09:23 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 23 Sep 2012 07:23:56 +0000
(09:23 +0200)
gl/includes/db/gl_db_rates.inc
patch
|
blob
|
history
diff --git
a/gl/includes/db/gl_db_rates.inc
b/gl/includes/db/gl_db_rates.inc
index 351714036f251a456c62a7d6fc8c4d7c61669c98..9f0f101d12d742704a46f983591c4fb53a6705a0 100644
(file)
--- 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 */