From 264bf42934e78995242764912a99163966de61af Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 29 Jan 2013 13:31:17 +0800 Subject: [PATCH] I18n.php --- I18n.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/I18n.php b/I18n.php index 0fed9ee0..009c26d8 100644 --- a/I18n.php +++ b/I18n.php @@ -292,9 +292,10 @@ class Pman_Core_I18n extends Pman if (!strlen($f)) { $target = dirname(__FILE__).'/eurofxref-daily.xml'; - return false; + + } else { + file_put_contents($target,$f); } - file_put_contents($target,$f); } $dom = simplexml_load_file($target); $this->rates['EUR'] = 1.0; -- 2.39.2