FIX: Money should use current locale by default. (Fixes: #6558)

This commit is contained in:
Will Rossiter 2013-05-11 23:30:13 +12:00
parent d6733caf14
commit 7ade1ebd59

View File

@ -64,7 +64,7 @@ class Money extends DBField implements CompositeDBField {
);
public function __construct($name = null) {
$this->currencyLib = new Zend_Currency(null, i18n::default_locale());
$this->currencyLib = new Zend_Currency(null, i18n::get_locale());
parent::__construct($name);
}