summaryrefslogtreecommitdiff
path: root/app/Validator/CurrencyValidator.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Validator/CurrencyValidator.php')
-rw-r--r--app/Validator/CurrencyValidator.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Validator/CurrencyValidator.php b/app/Validator/CurrencyValidator.php
index a00af738..ee191523 100644
--- a/app/Validator/CurrencyValidator.php
+++ b/app/Validator/CurrencyValidator.php
@@ -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(