diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-09-11 14:38:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-09-11 14:38:04 +0000 |
commit | 7017f77cfccf6c131090301e735306a8d5ddafec (patch) | |
tree | 79e712e34b9534d24ea44606edbac06aa8985c59 | |
parent | 84e5d10b66a19211fea8792816bfafc65a446478 (diff) | |
download | brdo-7017f77cfccf6c131090301e735306a8d5ddafec.tar.gz brdo-7017f77cfccf6c131090301e735306a8d5ddafec.tar.bz2 |
- Patch #240828 by sun, yoroy: fixed 'Validation error, please try again...' is terrible UI and confuses users.
-rw-r--r-- | includes/form.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc index 50e775199..e2909c64b 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -991,7 +991,7 @@ function drupal_validate_form($form_id, &$form, &$form_state) { if (isset($form['#token'])) { if (!drupal_valid_token($form_state['values']['form_token'], $form['#token'])) { // Setting this error will cause the form to fail validation. - form_set_error('form_token', t('Validation error, please try again. If this error persists, please contact the site administrator.')); + form_set_error('form_token', t('This form is outdated. Reload the page and try again. Contact the site administrator if the problem persists.')); } } |