From 28e1fe47d3145588b4e2e7f81433b7eec1e632ea Mon Sep 17 00:00:00 2001 From: edward Date: Fri, 20 Nov 2015 10:36:07 +0800 Subject: [PATCH] I18n.php --- I18n.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/I18n.php b/I18n.php index e973f902..81d40c27 100644 --- 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(); } -- 2.39.2