mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #1941 from TheFrozenFire/patch-1
Include Zend_Locale_Format
This commit is contained in:
commit
1b3f817862
@ -18,6 +18,8 @@ class NumericField extends TextField {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require_once THIRDPARTY_PATH."/Zend/Locale/Format.php";
|
||||||
|
|
||||||
$valid = Zend_Locale_Format::isNumber(
|
$valid = Zend_Locale_Format::isNumber(
|
||||||
trim($this->value),
|
trim($this->value),
|
||||||
array('locale' => i18n::get_locale())
|
array('locale' => i18n::get_locale())
|
||||||
|
Loading…
Reference in New Issue
Block a user