summaryrefslogtreecommitdiff
path: root/includes/form.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-10-15 14:52:18 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-10-15 14:52:18 +0000
commit19322c375bd5cc6b8d230cbef561bcf86e744bd9 (patch)
treeabb306e906f41edb329fde9ab304f4df535d8815 /includes/form.inc
parent53557e2f7b4713bb010fedf349372540f4207b3d (diff)
downloadbrdo-19322c375bd5cc6b8d230cbef561bcf86e744bd9.tar.gz
brdo-19322c375bd5cc6b8d230cbef561bcf86e744bd9.tar.bz2
Four watchdog() calls which still used t(), identified by myself after implementing extraction code for Drupal 6 at #182765
Diffstat (limited to 'includes/form.inc')
-rw-r--r--includes/form.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc
index 786390ab5..bac9a1d85 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -585,7 +585,7 @@ function _form_validate($elements, &$form_state, $form_id = NULL) {
}
elseif (!isset($options[$elements['#value']])) {
form_error($elements, t('An illegal choice has been detected. Please contact the site administrator.'));
- watchdog('form', t('Illegal choice %choice in %name element.', array('%choice' => $elements['#value'], '%name' => empty($elements['#title']) ? $elements['#parents'][0] : $elements['#title'])), WATCHDOG_ERROR);
+ watchdog('form', 'Illegal choice %choice in %name element.', array('%choice' => $elements['#value'], '%name' => empty($elements['#title']) ? $elements['#parents'][0] : $elements['#title']), WATCHDOG_ERROR);
}
}
}