projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c7e72d9
)
I18n.php
author
edward
<edward@roojs.com>
Fri, 20 Nov 2015 02:36:07 +0000
(10:36 +0800)
committer
edward
<edward@roojs.com>
Fri, 20 Nov 2015 02:36:07 +0000
(10:36 +0800)
I18n.php
patch
|
blob
|
history
diff --git
a/I18n.php
b/I18n.php
index
e973f90
..
81d40c2
100644
(file)
--- a/
I18n.php
+++ b/
I18n.php
@@
-277,12
+277,12
@@
class Pman_Core_I18n extends Pman
{
static $rates = array();
- if (!empty($this->rates)) {
- return true;
+ if (!empty($rates)) {
+ $this->rates = $rates;
+ return;
}
- $this->rates = DB_DAtaObject::Factory('core_curr_rate')->currentRates();
-
+ $this->rates = $rates = DB_DAtaObject::Factory('core_curr_rate')->currentRates();
}