summaryrefslogtreecommitdiff
path: root/modules/field
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-23 05:48:13 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-23 05:48:13 +0000
commit57fe6927a05c565ac5e2b61dcf9fe82da6614872 (patch)
tree5ec922fd9de0b091cc75bc80b0d9adab84610cb4 /modules/field
parent6e82d23e9717a55417fe53a478aff2d80698d2f0 (diff)
downloadbrdo-57fe6927a05c565ac5e2b61dcf9fe82da6614872.tar.gz
brdo-57fe6927a05c565ac5e2b61dcf9fe82da6614872.tar.bz2
#779390 by solotandem: Fixed esoteric invalid syntax bugs in core found by Grammar Parser module.
Diffstat (limited to 'modules/field')
-rw-r--r--modules/field/modules/number/number.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field/modules/number/number.module b/modules/field/modules/number/number.module
index 812789d4e..e06d35852 100644
--- a/modules/field/modules/number/number.module
+++ b/modules/field/modules/number/number.module
@@ -352,7 +352,7 @@ function number_field_widget_validate($element, &$form_state) {
$message = t('Only numbers and the decimal separator (@separator) allowed in %field.', array('%field' => t($instance['label']), '@separator' => $field['settings']['decimal_separator']));
break;
- case 'integer';
+ case 'integer':
$regexp = '@[^-0-9]@';
$message = t('Only numbers are allowed in %field.', array('%field' => t($instance['label'])));
break;