mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-28 12:26:23 +02:00
FIX: Money should use current locale by default. (Fixes: #6558)
This commit is contained in:
parent
d6733caf14
commit
7ade1ebd59
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user