Fix bug: unable to set currency rate with Postgres

This commit is contained in:
Frederic Guillot
2016-01-14 20:40:31 -05:00
parent 805be7d331
commit a8f404421f
5 changed files with 77 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ class CurrencyValidator extends Base
$v = new Validator($values, array(
new Validators\Required('currency', t('Field required')),
new Validators\Required('rate', t('Field required')),
new Validators\Numeric('rate', t('This value must be numeric')),
));
return array(