summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-11 14:38:04 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-11 14:38:04 +0000
commit7017f77cfccf6c131090301e735306a8d5ddafec (patch)
tree79e712e34b9534d24ea44606edbac06aa8985c59 /includes
parent84e5d10b66a19211fea8792816bfafc65a446478 (diff)
downloadbrdo-7017f77cfccf6c131090301e735306a8d5ddafec.tar.gz
brdo-7017f77cfccf6c131090301e735306a8d5ddafec.tar.bz2
- Patch #240828 by sun, yoroy: fixed 'Validation error, please try again...' is terrible UI and confuses users.
Diffstat (limited to 'includes')
-rw-r--r--includes/form.inc2
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.'));
}
}